summaryrefslogtreecommitdiff
path: root/sys/dev/ic/if_wi.c
AgeCommit message (Collapse)Author
2001-06-27ALTQ'ify network drivers.Kenjiro Cho
- use the new queue macros. - use IFQ_POLL() to peek at the next packet. - use IFQ_IS_EMPTY() for empty check. - drivers should always check if (m == NULL) after IFQ_DEQUEUE(), since it could return NULL even when IFQ_IS_EMPTY() is FALSE under rate-limiting. - drivers are supposed to call if_start from tx complete interrupts (in order to trigger the next dequeue under rate-limiting).
2001-06-25Fix this right this time. ugh.Dale Rahn
2001-06-25remove unused variable.Dale Rahn
Cleanup as suggested by millert@
2001-06-25Add the missing endian pieces to wavelan driver.Dale Rahn
ok, millert@
2001-06-23Use ether_input_mbuf instead.Federico G. Schwindt
2001-06-11Bail out of wi_attach() if the ether addr cannot be read from theTodd C. Miller
card. This is useful for PCI adapters where the card is not actually present. Also check some more wi_read_record() calls and try to deal sanely (avoid using uninitialized data).
2001-06-11For PCI attachments print the CIS strings since otherwise all we haveTodd C. Miller
is info on the PCI -> PCMCIA dumb bridge and not the card itself.
2001-06-10In wi_cmd() wait for the busy bit to clear; from NetBSD (ichiro)Todd C. Miller
2001-06-09Updates from NetBSD:Todd C. Miller
o Endian fixes o Missing WI_RID_AUTH_CNTL and WI_RID_MICROWAVE_OVEN bits o Move promisc mode setting to be before prism2 detect since some prism2 firmware revs need to have promisc to support WEP and it is useless to set promisc and then clear it again. o Add missing clear of ifp->if_timer when IFF_OACTIVE is cleared
2001-06-09Print firmware version for Lucent as well as Prism2 and break intoTodd C. Miller
two lines for readability. In practice this doesn't take an extra line on the screen.
2001-06-07Kill #define duplicates between if_wireg.h and if_wi_ieee.hTodd C. Miller
2001-06-07remove extra space before ether address for Lucent wi boardsTodd C. Miller
2001-06-07probe prism2 chips based on the probed card id, not cisMichael Shalayeff
2001-06-06We now disable interrupts in the bus-specific attach routine.Todd C. Miller
2001-05-15Split wi(4) into bus-dependent and bus-independent bits similar toTodd C. Miller
an(4) -- no real code changes at this point. Rename if_wavelan_ieee.h to if_wi_ieee.h while I'm at it and create an if_wivar.h similar to NetBSD. PCI adaptors exist that are not true PCMCIA controllers so wi(4) @ PCI is possible (though the code is not working yet ;-).