diff options
| author | Justin T. Gibbs <gibbs@FreeBSD.org> | 1997-06-10 16:07:22 +0000 |
|---|---|---|
| committer | Justin T. Gibbs <gibbs@FreeBSD.org> | 1997-06-10 16:07:22 +0000 |
| commit | 9996b3a56a4ad56977abdc0553cd8692939a1dab (patch) | |
| tree | 62190e5c941af34abec8807e00fda62bc52abe1b /sys/dev/ex | |
| parent | e30478ed6c0237e89bcb270aa9969c685f589b6f (diff) | |
Notes
Diffstat (limited to 'sys/dev/ex')
| -rw-r--r-- | sys/dev/ex/if_ex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ex/if_ex.c b/sys/dev/ex/if_ex.c index 4038414c9d80..5b38afb58281 100644 --- a/sys/dev/ex/if_ex.c +++ b/sys/dev/ex/if_ex.c @@ -317,7 +317,7 @@ void ex_init(void *xsc) */ outb(iobase + REG1, inb(iobase + REG1) | Tx_Chn_Int_Md | Tx_Chn_ErStp | Disc_Bad_Fr); outb(iobase + REG2, inb(iobase + REG2) | No_SA_Ins | RX_CRC_InMem); - outb(iobase + REG3, inb(iobase + REG3) | 0x3f /* XXX constants. */ ); + outb(iobase + REG3, inb(iobase + REG3) & 0x3f /* XXX constants. */ ); outb(iobase + CMD_REG, Bank1_Sel); outb(iobase + INT_NO_REG, (inb(iobase + INT_NO_REG) & 0xf8) | irq2eemap[sc->irq_no]); @@ -350,7 +350,7 @@ void ex_init(void *xsc) */ outw(iobase + RCV_BAR, sc->rx_lower_limit); sc->rx_head = sc->rx_lower_limit; - outw(iobase + RCV_STOP_REG, sc->rx_upper_limit & 0xfe); + outw(iobase + RCV_STOP_REG, sc->rx_upper_limit | 0xfe); outw(iobase + XMT_BAR, sc->tx_lower_limit); sc->tx_head = sc->tx_tail = sc->tx_lower_limit; |
