summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>1998-10-18 13:19:46 +0000
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>1998-10-18 13:19:46 +0000
commit84a06532b2a6e965fddf998dc10b5745bb787338 (patch)
tree9daa935d934a7106e6cf84959aafba2846652ab6
parent433eebf516e967fc615a638dd6236345d35b9b3a (diff)
made floppy on jazz plattforms working again
removed tags
-rw-r--r--arch/mips/jazz/setup.c33
1 files changed, 5 insertions, 28 deletions
diff --git a/arch/mips/jazz/setup.c b/arch/mips/jazz/setup.c
index f03ccc1ab..e9652344b 100644
--- a/arch/mips/jazz/setup.c
+++ b/arch/mips/jazz/setup.c
@@ -1,4 +1,4 @@
-/* $Id: setup.c,v 1.16 1998/09/19 19:16:14 ralf Exp $
+/* $Id: setup.c,v 1.17 1998/09/20 21:12:19 tsbogend Exp $
*
* Setup pointers to hardware-dependent routines.
*
@@ -47,6 +47,8 @@ extern void jazz_machine_power_off(void);
extern struct ide_ops std_ide_ops;
extern struct rtc_ops jazz_rtc_ops;
+extern struct fd_ops *fd_ops;
+extern struct fd_ops jazz_fd_ops;
void (*board_time_init)(struct irqaction *irq);
@@ -54,7 +56,7 @@ __initfunc(static void jazz_time_init(struct irqaction *irq))
{
/* set the clock to 100 Hz */
r4030_write_reg32(JAZZ_TIMER_INTERVAL, 9);
- setup_x86_irq(0, irq);
+ setup_x86_irq(JAZZ_TIMER_IRQ, irq);
}
__initfunc(static void jazz_irq_setup(void))
@@ -79,32 +81,6 @@ __initfunc(static void jazz_irq_setup(void))
__initfunc(void jazz_setup(void))
{
- tag *atag;
-
- /*
- * we just check if a tag_screen_info can be gathered
- * in setup_arch(), if yes we don't proceed futher...
- */
- atag = bi_TagFind(tag_screen_info);
- if (!atag) {
- /*
- * If no, we try to find the tag_arc_displayinfo which is
- * always created by Milo for an ARC box (for now Milo only
- * works on ARC boxes :) -Stoned.
- */
- atag = bi_TagFind(tag_arcdisplayinfo);
- if (atag) {
- screen_info.orig_x =
- ((mips_arc_DisplayInfo*)TAGVALPTR(atag))->cursor_x;
- screen_info.orig_y =
- ((mips_arc_DisplayInfo*)TAGVALPTR(atag))->cursor_y;
- screen_info.orig_video_cols =
- ((mips_arc_DisplayInfo*)TAGVALPTR(atag))->columns;
- screen_info.orig_video_lines =
- ((mips_arc_DisplayInfo*)TAGVALPTR(atag))->lines;
- }
- }
-
add_wired_entry (0x02000017, 0x03c00017, 0xe0000000, PM_64K);
add_wired_entry (0x02400017, 0x02440017, 0xe2000000, PM_16M);
add_wired_entry (0x01800017, 0x01000017, 0xe4000000, PM_4M);
@@ -129,4 +105,5 @@ __initfunc(void jazz_setup(void))
#endif
conswitchp = &dummy_con;
rtc_ops = &jazz_rtc_ops;
+ fd_ops = &jazz_fd_ops;
}