Skip to content
Browse files

PATCH 1:

add device ed1 so people with 3c503's can use them:
> device ed1 at isa? port 0x250 net irq 9 iomem 0xd8000 vector edintr
also, bring if_ed to DG's 1.19 rev.
  • Loading branch information...
1 parent 8a81c76 commit 376862010ce4d020e3e660fe0a0583dff205e5d7 cgd committed Aug 25, 1993
Showing with 8 additions and 6 deletions.
  1. +2 −1 sys/arch/i386/conf/GENERICAHA
  2. +2 −1 sys/arch/i386/conf/GENERICAHBBT
  3. +4 −4 sys/arch/i386/isa/if_ed.c
View
3 sys/arch/i386/conf/GENERICAHA
@@ -1,7 +1,7 @@
#
# GENERICAHA -- Generic machine w/aha driver -- distribution floppy
#
-# $Id: GENERICAHA,v 1.20.2.3 1993/08/05 02:45:02 cgd Exp $
+# $Id: GENERICAHA,v 1.20.2.4 1993/08/25 23:58:11 cgd Exp $
#
machine "i386"
@@ -64,6 +64,7 @@ device lpa0 at isa? port "IO_LPT1" tty
device lpa1 at isa? port "IO_LPT2" tty
device ed0 at isa? port 0x280 net irq 9 iomem 0xd0000 vector edintr
+device ed1 at isa? port 0x250 net irq 9 iomem 0xd8000 vector edintr
#device we0 at isa? port 0x280 net irq 9 iomem 0xd0000 iosiz 8192 vector weintr
#device ec0 at isa? port 0x250 net irq 9 iomem 0xd8000 iosiz 8192 vector ecintr
device ne0 at isa? port 0x300 net irq 9 vector neintr
View
3 sys/arch/i386/conf/GENERICAHBBT
@@ -1,7 +1,7 @@
#
# GENERICAHBBT -- Generic machine w/ahb and bt drivers -- distribution floppy
#
-# $Id: GENERICAHBBT,v 1.16.2.3 1993/08/05 02:45:05 cgd Exp $
+# $Id: GENERICAHBBT,v 1.16.2.4 1993/08/25 23:58:14 cgd Exp $
#
machine "i386"
@@ -73,6 +73,7 @@ device lpa0 at isa? port "IO_LPT1" tty
device lpa1 at isa? port "IO_LPT2" tty
device ed0 at isa? port 0x280 net irq 9 iomem 0xd0000 vector edintr
+device ed1 at isa? port 0x250 net irq 9 iomem 0xd8000 vector edintr
#device we0 at isa? port 0x280 net irq 9 iomem 0xd0000 iosiz 8192 vector weintr
#device ec0 at isa? port 0x250 net irq 9 iomem 0xd8000 iosiz 8192 vector ecintr
device ne0 at isa? port 0x300 net irq 9 vector neintr
View
8 sys/arch/i386/isa/if_ed.c
@@ -14,7 +14,7 @@
*/
/*
- * $Id: if_ed.c,v 1.2.2.5 1993/07/27 06:00:45 cgd Exp $
+ * $Id: if_ed.c,v 1.2.2.6 1993/08/25 23:58:34 cgd Exp $
*/
#include "ed.h"
@@ -809,14 +809,14 @@ ed_init(unit)
if (sc->memwidth == 16) {
/*
* Set FIFO threshold to 8, No auto-init Remote DMA,
- * byte order=80x86, word-wide DMA xfers
+ * byte order=80x86, word-wide DMA xfers,
*/
- outb(sc->nic_addr + ED_P0_DCR, ED_DCR_FT1|ED_DCR_WTS);
+ outb(sc->nic_addr + ED_P0_DCR, ED_DCR_FT1|ED_DCR_WTS|ED_DCR_LS);
} else {
/*
* Same as above, but byte-wide DMA xfers
*/
- outb(sc->nic_addr + ED_P0_DCR, ED_DCR_FT1);
+ outb(sc->nic_addr + ED_P0_DCR, ED_DCR_FT1|ED_DCR_LS);
}
/*

0 comments on commit 3768620

Please sign in to comment.
Something went wrong with that request. Please try again.