summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2002-04-16move prototypes of dc_eeprom_width, dc_read_srom, and dc_parse_21143_srom to ↵Jason Wright
dcreg.h and out of the bus specific drivers
2002-04-16From NetBSD:Todd C. Miller
o Fix m->m_data alignment in wi_rxeof() o Add a comment
2002-04-15Add Siemens/Efficient Networks SpeedStream 1023 Wireless PCI Adapter,Todd C. Miller
another PLX card. From FreeBSD.
2002-04-15regen with SpeedStream 1023Todd C. Miller
2002-04-15SpeedStream 1023 Wireless PCI Adapter (PLX-based)Todd C. Miller
2002-04-15Remove bogus casts to int in printf that causes a warning on 64bit arches.Todd C. Miller
2002-04-15wx is totally gone nowTheo de Raadt
2002-04-11o Check supported speeds before examing capabiltiesTodd C. Miller
o If capinfo doesn't match, save it anyway for debugging porpoises o Add more info for capinfo failures in debug mode
2002-04-11Fix Lucent <-> Prism2 WEP interop bug. We only want to set theTodd C. Miller
EXCLUDE_UNENCRYPTED bit in the WI_RID_P2_ENCRYPTION value if we are in shared key mode. Symbol cards, just to be different, supposedly always want the EXCLUDE_UNENCRYPTED bit set (confirmed with the Linux orinoco and spectrum24 drivers). I have so far been unable to get my Symbol card to interop with Lucent or Prism2 WEP. In BSS mode at least, this Symbol card does not list WEP as a capability it supports. This is, to put it mildly, rather annoying.
2002-04-11o Set feature flags based on firmware type and version.Todd C. Miller
o Move the sc->has_wep flag into sc->wi_flags o Only do the COR reset on Symbol cards just to play it safe. o Remove unused sc->sc_enabled variable. o Kill ibss_portmap array in favor of sc->wi_ibss_port, which is stored in little endian. mickey@ OK
2002-04-10o Add ibss and ibss-master mediaopt for ifconfigTodd C. Miller
o Map port type 4 to ibss regardless of firmware type. This gives us a consistent way to set ibss mode.
2002-04-10For PLX cards move CIS handling to be earlierTodd C. Miller
2002-04-09because SUNW,fas boards don't have a corresponding 'dma' device, searchingJason Wright
for the corresponding 'dma' for a non-fas 'esp' needs to have an offset (really a count of the number of 'fas's)
2002-04-09better lt keymap (in the best .su tradition); from Vladis Adler <vld@vic.lt>Michael Shalayeff
2002-04-09Don't enable interrupts until an open() is done. Until then the driverPer Fogelstrom
is not handling them and may throw the kernel into a spurious interrupt loop. ok art@
2002-04-09No longer need memsize.Todd C. Miller
2002-04-08Make fiber cards work (3com 3c996-SX)Nathan Binkert
Make the BCM5701 chips work. (3com 3c996B-T) From FreeBSD
2002-04-08Match on phy model found internally on the BCM5701 chips (3c996B-T)Nathan Binkert
2002-04-08syncNathan Binkert
2002-04-08new brgphy modelNathan Binkert
2002-04-08two missing splx()sMichael Shalayeff
2002-04-08restore what was a default inactivity timeout, two minutesMichael Shalayeff
2002-04-08make hostap work on other-endian machines; tested by drahn@Michael Shalayeff
2002-04-08Credit DARPA/USAF appropriately.Jason Wright
2002-04-08tag repairTheo de Raadt
2002-04-08regenMike Frantzen
2002-04-08ESS Alegro-1 and Maestro 3 stuffMike Frantzen
2002-04-08add an entry for the MAESTRO_3 audio accelerator. it improves your bandwidthMike Frantzen
almost as much as an openbsd sticker!
2002-04-08Allegro-1 and Maestro 3 driver ported from netbsdMike Frantzen
ok deraadt@
2002-04-08add flag to swap channels. from netbsd.Mike Frantzen
ok deraadt@
2002-04-07Don't reset COR in wi_reset(), break it out into its own function andTodd C. Miller
only call it from wi_attach() and wi_pcmcia_activate() (ie: just once). It would be nicer to have the COR reset be part of the bus-specific code but we need to know whether or not we have a Lucent card since old Lucent firmware revs get messed up on a COR soft reset. Even with the COR reset we still need to avoid initializing Symbol cards more than once. However, we *do* want to do a reset after returning from suspend. Therefore, rename wi_gone to wi_flags and store both the attach and init status in it. wi_reset() now checks wi_flags to see if the card should be initialized in the Symbol case. Info on initializing Symbol cards once from NetBSD.
2002-04-07Typo. ok millert@Thierry Deval
2002-04-06Add support for setting antenna diversity on Symbol cards.Todd C. Miller
Also add some more Symbol-specific RID values I noticed in the Linux orinoco driver.
2002-04-06For PLX-based bridge cards, move printing of pcmcia card CIS stringsTodd C. Miller
out of generic wi_attach() and into wi_pci_attach(). This means we can't print the CIS info for embedded cards like the NCP130 but since those don't have a "real" pcmcia card in them this is really not a problem. Also check to see that there is actually a pcmcia present and give and error if not. CIS magic number taken from the Linux orinoco driver; there may be a better way to do this.
2002-04-06Add support for Symbol cards and printing of the primary stationTodd C. Miller
firmware version. Adapted from NetBSD and the Linux orinoco driver. The Symbol firmware requires that we do a COR soft reset before initializing the card in wi_reset(). Also, setting WI_RID_ROAMING_MODE caused the Symbol card to go into a strange (non-working) mode with firmware 2.x.x. There are some other Symbol additions/oddities that will need to be addressed in the future.
2002-04-06s/REESSERVED/RESERVED/Jason Wright
2002-04-06regenMichael Shalayeff
2002-04-06actiontec wlan support; form jason@ackley.net via pr#2526Michael Shalayeff
2002-04-05protect another use of wskbd_repeat with #if NWSDISPLAY > 0Jason Wright
2002-04-05Add another check for sc->wi_gone; from FreeBSDTodd C. Miller
2002-04-05Actually set wi_gone when we detach, based on what the an driver does.Todd C. Miller
2002-04-04lithuanian kbdmap, made from the script at http://open.bsd.ltMichael Shalayeff
2002-04-04wi_init() now takes a struct wi_softc * not a void * since an sc pointerTodd C. Miller
is available everywhere wi_init() is called. deraadt@ OK
2002-04-04Catch broken devices on sparc64 (where broken == devices that don't haveJason Wright
a function 0). Many thanks to Joey Coleman <joeycoleman@acm.org> for fixing this.
2002-04-03The PLX version of the NDC NCP130 PCI card w/ embedded Prism2 doesTodd C. Miller
not map the PLX registers so the driver cannot enable interrupts on the PLX chip (this is OK since the card's EEPROM does it for us). To work around this we check that what we expect to be the PLX registers are a) I/O mapped and b) have a non-zero size. OK mickey@
2002-04-03In Host-AP mode, set IBSS SSID to the normal network id. This makesTodd C. Miller
"ifconfig nwid FOO" work correctly in Host-AP mode.
2002-04-03move the "ukbd_enable: %s: bad call on=%d" from DIAGNOSTIC to UKBD_DEBUGJason Wright
2002-04-03deal with ccb shortage correctly, ok mickey@Niklas Hallqvist
2002-04-03- read the rx completion register exactly once.Jason Wright
- don't complain about still owned descriptors tested by myself and Joey Coleman <joeycoleman@acm.org>
2002-04-03back out ALTQ diff which breaks it; see PR 2517Theo de Raadt