Commit ad4063b0 authored by Ben Dooks's avatar Ben Dooks Committed by Linus Torvalds

[PATCH] AX88796 parallel port driver

Driver for the simple parallel port interface on the Asix AX88796 chip on
an platform_bus.

[akpm@osdl.org: x86_64 build fix]
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 11e64757
...@@ -136,6 +136,18 @@ config PARPORT_SUNBPP ...@@ -136,6 +136,18 @@ config PARPORT_SUNBPP
found on many Sun machines. Note that many of the newer Ultras found on many Sun machines. Note that many of the newer Ultras
actually have pc style hardware instead. actually have pc style hardware instead.
config PARPORT_AX88796
tristate "AX88796 Parallel Port"
depends on PARPORT
select PARPORT_NOT_PC
help
Say Y here if you need support for the parallel port hardware on
the AX88796 network controller chip. This code is also available
as a module (say M), called parport_ax88796.
The driver is not dependant on the AX88796 network driver, and
should not interfere with the networking functions of the chip.
config PARPORT_1284 config PARPORT_1284
bool "IEEE 1284 transfer modes" bool "IEEE 1284 transfer modes"
depends on PARPORT depends on PARPORT
......
...@@ -17,4 +17,5 @@ obj-$(CONFIG_PARPORT_MFC3) += parport_mfc3.o ...@@ -17,4 +17,5 @@ obj-$(CONFIG_PARPORT_MFC3) += parport_mfc3.o
obj-$(CONFIG_PARPORT_ATARI) += parport_atari.o obj-$(CONFIG_PARPORT_ATARI) += parport_atari.o
obj-$(CONFIG_PARPORT_SUNBPP) += parport_sunbpp.o obj-$(CONFIG_PARPORT_SUNBPP) += parport_sunbpp.o
obj-$(CONFIG_PARPORT_GSC) += parport_gsc.o obj-$(CONFIG_PARPORT_GSC) += parport_gsc.o
obj-$(CONFIG_PARPORT_IP32) += parport_ip32.o obj-$(CONFIG_PARPORT_AX88796) += parport_ax88796.o
obj-$(CONFIG_PARPORT_IP32) += parport_ip32.o
\ No newline at end of file
This diff is collapsed.
...@@ -127,6 +127,10 @@ struct amiga_parport_state { ...@@ -127,6 +127,10 @@ struct amiga_parport_state {
unsigned char statusdir;/* ciab.ddrb & 7 */ unsigned char statusdir;/* ciab.ddrb & 7 */
}; };
struct ax88796_parport_state {
unsigned char cpr;
};
struct ip32_parport_state { struct ip32_parport_state {
unsigned int dcr; unsigned int dcr;
unsigned int ecr; unsigned int ecr;
...@@ -138,6 +142,7 @@ struct parport_state { ...@@ -138,6 +142,7 @@ struct parport_state {
/* ARC has no state. */ /* ARC has no state. */
struct ax_parport_state ax; struct ax_parport_state ax;
struct amiga_parport_state amiga; struct amiga_parport_state amiga;
struct ax88796_parport_state ax88796;
/* Atari has not state. */ /* Atari has not state. */
struct ip32_parport_state ip32; struct ip32_parport_state ip32;
void *misc; void *misc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment