diff options
| -rw-r--r-- | drivers/char/Makefile | 2 | ||||
| -rw-r--r-- | drivers/char/ip2/Makefile | 8 | ||||
| -rw-r--r-- | drivers/char/ip2/ip2base.c (renamed from drivers/char/ip2.c) | 6 | ||||
| -rw-r--r-- | drivers/char/ip2/ip2main.c (renamed from drivers/char/ip2main.c) | 20 |
4 files changed, 22 insertions, 14 deletions
diff --git a/drivers/char/Makefile b/drivers/char/Makefile index 503dd901d406..090d154098bb 100644 --- a/drivers/char/Makefile +++ b/drivers/char/Makefile | |||
| @@ -31,7 +31,7 @@ obj-$(CONFIG_MOXA_INTELLIO) += moxa.o | |||
| 31 | obj-$(CONFIG_A2232) += ser_a2232.o generic_serial.o | 31 | obj-$(CONFIG_A2232) += ser_a2232.o generic_serial.o |
| 32 | obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o | 32 | obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o |
| 33 | obj-$(CONFIG_MOXA_SMARTIO) += mxser.o | 33 | obj-$(CONFIG_MOXA_SMARTIO) += mxser.o |
| 34 | obj-$(CONFIG_COMPUTONE) += ip2.o ip2main.o | 34 | obj-$(CONFIG_COMPUTONE) += ip2/ |
| 35 | obj-$(CONFIG_RISCOM8) += riscom8.o | 35 | obj-$(CONFIG_RISCOM8) += riscom8.o |
| 36 | obj-$(CONFIG_ISI) += isicom.o | 36 | obj-$(CONFIG_ISI) += isicom.o |
| 37 | obj-$(CONFIG_SYNCLINK) += synclink.o | 37 | obj-$(CONFIG_SYNCLINK) += synclink.o |
diff --git a/drivers/char/ip2/Makefile b/drivers/char/ip2/Makefile new file mode 100644 index 000000000000..6bfe2543ddc2 --- /dev/null +++ b/drivers/char/ip2/Makefile | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | # | ||
| 2 | # Makefile for the Computone IntelliPort Plus Driver | ||
| 3 | # | ||
| 4 | |||
| 5 | obj-$(CONFIG_COMPUTONE) += ip2.o ip2main.o | ||
| 6 | |||
| 7 | ip2-objs := ip2base.o | ||
| 8 | |||
diff --git a/drivers/char/ip2.c b/drivers/char/ip2/ip2base.c index 7cadfc6ef352..435ccfc74958 100644 --- a/drivers/char/ip2.c +++ b/drivers/char/ip2/ip2base.c | |||
| @@ -20,14 +20,14 @@ | |||
| 20 | #define __initdata | 20 | #define __initdata |
| 21 | #endif | 21 | #endif |
| 22 | 22 | ||
| 23 | #include "./ip2/ip2types.h" | 23 | #include "ip2types.h" |
| 24 | #include "./ip2/fip_firm.h" // the meat | 24 | #include "fip_firm.h" // the meat |
| 25 | 25 | ||
| 26 | int | 26 | int |
| 27 | ip2_loadmain(int *, int *, unsigned char *, int ); // ref into ip2main.c | 27 | ip2_loadmain(int *, int *, unsigned char *, int ); // ref into ip2main.c |
| 28 | 28 | ||
| 29 | /* Note: Add compiled in defaults to these arrays, not to the structure | 29 | /* Note: Add compiled in defaults to these arrays, not to the structure |
| 30 | in ip2/ip2.h any longer. That structure WILL get overridden | 30 | in ip2.h any longer. That structure WILL get overridden |
| 31 | by these values, or command line values, or insmod values!!! =mhw= | 31 | by these values, or command line values, or insmod values!!! =mhw= |
| 32 | */ | 32 | */ |
| 33 | static int io[IP2_MAX_BOARDS]= { 0, 0, 0, 0 }; | 33 | static int io[IP2_MAX_BOARDS]= { 0, 0, 0, 0 }; |
diff --git a/drivers/char/ip2main.c b/drivers/char/ip2/ip2main.c index 56e93a5a1e24..52f64bfb0dc6 100644 --- a/drivers/char/ip2main.c +++ b/drivers/char/ip2/ip2main.c | |||
| @@ -35,7 +35,7 @@ | |||
| 35 | // Clean up potential NULL pointer dereferences | 35 | // Clean up potential NULL pointer dereferences |
| 36 | // Clean up devfs registration | 36 | // Clean up devfs registration |
| 37 | // Add kernel command line parsing for io and irq | 37 | // Add kernel command line parsing for io and irq |
| 38 | // Compile defaults for io and irq are now set in ip2.c not ip2/ip2.h! | 38 | // Compile defaults for io and irq are now set in ip2.c not ip2.h! |
| 39 | // Reworked poll_only hack for explicit parameter setting | 39 | // Reworked poll_only hack for explicit parameter setting |
| 40 | // You must now EXPLICITLY set poll_only = 1 or set all irqs to 0 | 40 | // You must now EXPLICITLY set poll_only = 1 or set all irqs to 0 |
| 41 | // Merged ip2_loadmain and old_ip2_init | 41 | // Merged ip2_loadmain and old_ip2_init |
| @@ -123,12 +123,12 @@ | |||
| 123 | 123 | ||
| 124 | #include <asm/uaccess.h> | 124 | #include <asm/uaccess.h> |
| 125 | 125 | ||
| 126 | #include "./ip2/ip2types.h" | 126 | #include "ip2types.h" |
| 127 | #include "./ip2/ip2trace.h" | 127 | #include "ip2trace.h" |
| 128 | #include "./ip2/ip2ioctl.h" | 128 | #include "ip2ioctl.h" |
| 129 | #include "./ip2/ip2.h" | 129 | #include "ip2.h" |
| 130 | #include "./ip2/i2ellis.h" | 130 | #include "i2ellis.h" |
| 131 | #include "./ip2/i2lib.h" | 131 | #include "i2lib.h" |
| 132 | 132 | ||
| 133 | /***************** | 133 | /***************** |
| 134 | * /proc/ip2mem * | 134 | * /proc/ip2mem * |
| @@ -282,9 +282,9 @@ static int tracewrap; | |||
| 282 | /* Code */ | 282 | /* Code */ |
| 283 | /********/ | 283 | /********/ |
| 284 | 284 | ||
| 285 | #include "./ip2/i2ellis.c" /* Extremely low-level interface services */ | 285 | #include "i2ellis.c" /* Extremely low-level interface services */ |
| 286 | #include "./ip2/i2cmd.c" /* Standard loadware command definitions */ | 286 | #include "i2cmd.c" /* Standard loadware command definitions */ |
| 287 | #include "./ip2/i2lib.c" /* High level interface services */ | 287 | #include "i2lib.c" /* High level interface services */ |
| 288 | 288 | ||
| 289 | /* Configuration area for modprobe */ | 289 | /* Configuration area for modprobe */ |
| 290 | 290 | ||
