summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-05-07 23:43:58 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-05-07 23:43:58 +0000
commiteceef87159b136a4a21395112b888e232ea8df76 (patch)
tree1d244ceb9d714c6175ec765388759cbb6e9f4e4e /drivers
parentdca50cc150304946afb790f00ead222736146e3e (diff)
Make the default configurations (RM200C / Acer PICA) compile.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/serial.c14
-rw-r--r--drivers/scsi/esp.c4
-rw-r--r--drivers/scsi/esp.h2
3 files changed, 3 insertions, 17 deletions
diff --git a/drivers/char/serial.c b/drivers/char/serial.c
index 746b93680..2b3e904b2 100644
--- a/drivers/char/serial.c
+++ b/drivers/char/serial.c
@@ -3008,20 +3008,6 @@ __initfunc(int rs_init(void))
dualsp_serial_init ();
#endif
- rs_table = rs_table_std;
-#ifdef __mips__
- if (mips_machgroup == MACH_GROUP_JAZZ) {
- rs_table = rs_table_jazz;
- if (mips_machtype == MACH_OLIVETTI_M700) {
- /*
- * Some jazz machines use the normal crystal, some
- * a different clock ...
- */
- rs_table[0].baud_base = BASE_BAUD;
- rs_table[1].baud_base = BASE_BAUD;
- }
- }
-#endif
init_bh(SERIAL_BH, do_serial_bh);
timer_table[RS_TIMER].fn = rs_timer;
timer_table[RS_TIMER].expires = 0;
diff --git a/drivers/scsi/esp.c b/drivers/scsi/esp.c
index d6059c153..eb6ea16db 100644
--- a/drivers/scsi/esp.c
+++ b/drivers/scsi/esp.c
@@ -91,7 +91,7 @@ struct Sparc_ESP *espchain = 0;
int nesps = 0, esps_in_use = 0, esps_running = 0;
void esp_intr(int irq, void *dev_id, struct pt_regs *pregs);
-static void do_esp_intr(int irq, void *dev_id, struct pt_regs *pregs);
+void do_esp_intr(int irq, void *dev_id, struct pt_regs *pregs);
/* Debugging routines */
struct esp_cmdstrings {
@@ -3609,7 +3609,7 @@ esp_handle_done:
return;
}
-static void do_esp_intr(int irq, void *dev_id, struct pt_regs *pregs)
+void do_esp_intr(int irq, void *dev_id, struct pt_regs *pregs)
{
unsigned long flags;
diff --git a/drivers/scsi/esp.h b/drivers/scsi/esp.h
index f6f9718b5..76b9ca9f4 100644
--- a/drivers/scsi/esp.h
+++ b/drivers/scsi/esp.h
@@ -534,7 +534,7 @@ extern int nesps, esps_in_use, esps_running;
/* For our interrupt engine. */
#define for_each_esp(esp) \
for((esp) = espchain; (esp); (esp) = (esp)->next)
-
+extern void do_esp_intr(int irq, void *dev_id, struct pt_regs *pregs);
/* External functions */
extern struct Sparc_ESP *esp_allocate(Scsi_Host_Template *, void *);