diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-11-13 07:12:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-11-13 07:12:02 +0000 |
commit | 17e6b13040a93131519886f8c3587df01801ebaf (patch) | |
tree | 6b9df9eeec8903ef5b49dc6e869635e3e5ba2512 | |
parent | 40048bc07623cf1a44e1d2bfbe5319b60af9cdcf (diff) |
make 24f work; from gillhaa@ghost.whirlpool.com; netbsd pr#1717
-rw-r--r-- | sys/dev/isa/ultra14f.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/isa/ultra14f.c b/sys/dev/isa/ultra14f.c index 0d219fd1010..4a2cf6255d3 100644 --- a/sys/dev/isa/ultra14f.c +++ b/sys/dev/isa/ultra14f.c @@ -1041,6 +1041,8 @@ u24_find(uha, ia) uha_id = config2 & U24_HOSTID_MASK; uha->sc_drq = DRQUNK; + uha->sc_iobase = iobase; + ia->ia_iobase = iobase; switch (irq_ch) { case U24_IRQ10: @@ -1100,8 +1102,8 @@ u14_init(uha) printf("u14_init: lmask=%02x, smask=%02x\n", inb(iobase + U14_LMASK), inb(iobase + U14_SMASK)); #endif - outb(0xd1, iobase + U14_LMASK); /* XXX */ - outb(0x91, iobase + U14_SMASK); /* XXX */ + outb(iobase + U14_LMASK, 0xd1); /* XXX */ + outb(iobase + U14_SMASK, 0x91); /* XXX */ } void @@ -1118,8 +1120,8 @@ u24_init(uha) printf("u24_init: lmask=%02x, smask=%02x\n", inb(iobase + U24_LMASK), inb(iobase + U24_SMASK)); #endif - outb(0xd2, iobase + U24_LMASK); /* XXX */ - outb(0x92, iobase + U24_SMASK); /* XXX */ + outb(iobase + U24_LMASK, 0xd2); /* XXX */ + outb(iobase + U24_SMASK, 0x92); /* XXX */ } void |