Skip to content

Commit

Permalink
sh: Add maple bus support for the SEGA Dreamcast.
Browse files Browse the repository at this point in the history
The Maple bus is SEGA's proprietary serial bus for peripherals
(keyboard, mouse, controller etc). The bus is capable of some
(limited) hotplugging and operates at up to 2 M/bits.

Drivers of one sort or another existed/exist for 2.4 and a rudimentary
port, which didn't support the 2.6 device driver model was also in
existence.

This driver - for the bus logic itself and for the keyboard (other
drivers will follow) are based on the code and concepts of those old
drivers but have lots of completely rewritten parts.

I have the maple bus code as a built in now as that seems the sane and
rational way to handle something like that - you either want the bus
or you don't.

Signed-off-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Adrian McMenamin authored and pmundt committed Sep 21, 2007
1 parent e87ab0c commit 17be2d2
Show file tree
Hide file tree
Showing 6 changed files with 868 additions and 2 deletions.
11 changes: 11 additions & 0 deletions arch/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,17 @@ config SUPERHYWAY
tristate "SuperHyway Bus support"
depends on CPU_SUBTYPE_SH4_202

config MAPLE
bool "Maple Bus support"
depends on SH_DREAMCAST
help
The Maple Bus is SEGA's serial communication bus for peripherals
on the Dreamcast. Without this bus support you won't be able to
get your Dreamcast keyboard etc to work, so most users
probably want to say 'Y' here, unless you are only using the
Dreamcast with a serial line terminal or a remote network
connection.

config CF_ENABLER
bool "Compact Flash Enabler support"
depends on SOLUTION_ENGINE || SH_SH03
Expand Down
4 changes: 2 additions & 2 deletions drivers/sh/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# Makefile for the SuperH specific drivers.
#

obj-$(CONFIG_SUPERHYWAY) += superhyway/

obj-$(CONFIG_SUPERHYWAY) += superhyway/
obj-$(CONFIG_MAPLE) += maple/
3 changes: 3 additions & 0 deletions drivers/sh/maple/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Makefile for Maple Bus

obj-$(CONFIG_MAPLE) := maple.o
Loading

0 comments on commit 17be2d2

Please sign in to comment.