diff options
author | hm <hm@FreeBSD.org> | 2001-01-21 10:12:50 +0000 |
---|---|---|
committer | hm <hm@FreeBSD.org> | 2001-01-21 10:12:50 +0000 |
commit | 9c4d942508aa142dc84c8dffc05cafeb76564b71 (patch) | |
tree | bd4d0aee922cfac6cb59e45ee3e1384a1c0298bf /sys/i4b/layer1/iwic/i4b_iwic_pci.c | |
parent | 7e6a9379747e18efa22fdb285658e4641d2718cf (diff) | |
download | FreeBSD-src-9c4d942508aa142dc84c8dffc05cafeb76564b71.zip FreeBSD-src-9c4d942508aa142dc84c8dffc05cafeb76564b71.tar.gz |
Update the iwic driver: fix error handling for rx errors on the D-channel
which prevents erroneous packets from being put onto the protocol stack;
enhance error detection for B-channel HDLC errors; remove old cvs id´s.
Diffstat (limited to 'sys/i4b/layer1/iwic/i4b_iwic_pci.c')
-rw-r--r-- | sys/i4b/layer1/iwic/i4b_iwic_pci.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/i4b/layer1/iwic/i4b_iwic_pci.c b/sys/i4b/layer1/iwic/i4b_iwic_pci.c index b02af71..7f92fdb 100644 --- a/sys/i4b/layer1/iwic/i4b_iwic_pci.c +++ b/sys/i4b/layer1/iwic/i4b_iwic_pci.c @@ -29,7 +29,7 @@ * * $FreeBSD$ * - * last edit-date: [Wed Jan 10 14:33:08 2001] + * last edit-date: [Tue Jan 16 10:53:03 2001] * *---------------------------------------------------------------------------*/ @@ -266,6 +266,12 @@ iwic_pci_attach(device_t dev) iwic_init_linktab(sc); + if(bootverbose) + { + int ver = IWIC_READ(sc, D_RBCH); + printf("iwic%d: W6692 chip version = %d\n", unit, D_RBCH_VN(ver)); + } + i4b_l1_mph_status_ind(L0IWICUNIT(sc->sc_unit), STI_ATTACH, sc->sc_cardtyp, &iwic_l1mux_func); IWIC_READ(sc, ISTA); |