summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2002-05-17Switch to new fabric search mechanism (leave the old one in place). Switchmjacob
vendors really don't like to support GET ALL NEXT, so we use a different, larger memory footprint, method. Split 2300/2312 support so we distinguish between the two. Correctly identify that SCC Luns are 16384 luns for us, not 65536. Turn on Reduced Interrupt Operation for LVD SCSI cards, which rocks. Do 'mailbox continuations' in some cases- this batches repeated mailbox commands so we don't have to wake the invokee until we're done with the N thousand or so mailbox commands we needed to do. Put in firmware dump code (optioned out for now- but there if needed to capture issues for QLogic). Fix a boatload of bugs- like handling cases of dropped frames that show up as 'bogus' residuals (i.e., we get a a DATA UNDERRUN as reported by the f/w, but there is no RESPONSE UNDERRUN in the FCP RSPNS IU, or the residual is bogus- this led to a lot of silent data corruption cases).
2002-05-13When collecting the completed tx descriptors, dmasync all of themArtur Grabowski
before reading, not just the first one. jason@ ok.
2002-05-13Don't leak memory when bus_dmamap_load_mbuf fails.Artur Grabowski
2002-05-10Zap an unsued define.Artur Grabowski
2002-05-10What we store on all archs just before the rfa is a pointerArtur Grabowski
to a bus_dmamap_t, not a bus_dmamap_t (just a cosmetic change, bus_dmamap_t is a pointer on all archs, but this was confusing)
2002-05-09an_ltv_caps has some more fluff at the tail (exatly 16bit more fluff); ↵Michael Shalayeff
reported by xyntrix@bitz.org
2002-05-07Simplify multicast handling based on powerpc's gm.c and remove ether_cmp()Jason Wright
2002-05-07move ether_crc32_le to if_ethersubr.c. Add ether_crc32_beNathan Binkert
2002-05-03LBA48 support.Grigoriy Orlov
Adopted from NetBSD by Alexander Yurchenko <grange@openbsd.ru>. costa@ ok.
2002-05-01Change WI_PORTTYPE_IBSS to 4. This change got lost in the big ibssTodd C. Miller
simplication a while back. Luckily, it is basically cosmetic...
2002-04-30crc32_tab can be constMichael Shalayeff
2002-04-30media table could be constMichael Shalayeff
2002-04-30Correctly handle old controllers with a relaxed aux port behaviour.Miod Vallat
This allows the mouse port to become available on AlphaStation machines, as well as on some older x86 machines. From NetBSD. Tested by various people on alpha and i386, no regression discovered.
2002-04-29wierd -> weirdPeter Valchev
2002-04-26Implement shared key support for hostap mode; from Thomas SkiboTodd C. Miller
Also do a little KNF while I'm in here.
2002-04-26Add some bounds checking of wi_len on copyin(). From NetBSD via FreeBSD.Todd C. Miller
2002-04-26Don't set WI_RID_OWN_SSID based on wi_net_name if wi_net_name isTodd C. Miller
not actually set. Closed PR #2569.
2002-04-26We use wi_authtype, not wi_authmode to store the auth type (open systemTodd C. Miller
or shared key).
2002-04-26Add missing unlock. Ok mickeyNathan Binkert
2002-04-25soundforte radio driver, from Vladimir Popov <jumbo@narod.ru>Michael Shalayeff
2002-04-23Clear flags indicating whether or not wi or hostap is active asTodd C. Miller
early as possible. Also move the timeout_del() in wi_stop() to before we disable wi(4) so it doesn't fire at the wrong time. Joint effort between mickey@ and myself.
2002-04-21Symbol version string need not start with 'V'; from NetBSD (onoe)Todd C. Miller
2002-04-20Correct the value for WI_RID_SYMBOL_PREAMBLE and addTodd C. Miller
WI_RID_P2_SHORT_PREAMBLE and WI_RID_P2_EXCLUDE_LONG_PREAMBLE. Unforturnately, the Prism2 preamble RIDs conflict with the Lucent WEP RIDs (and they don't seem to behave as I would expect anyway).
2002-04-18add support for Conexant LANfinity RS7112; based on patch from Maurice ↵Jason Wright
Nonnekes <maurice@amaze.nl> based on FreeBSD (only minor surgery necessary)
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-15Remove bogus casts to int in printf that causes a warning on 64bit arches.Todd C. Miller
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-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-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-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-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-05Add another check for sc->wi_gone; from FreeBSDTodd C. Miller
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-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-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-02keylen is either 8 (40 bit secret ) or 16 (104 bit)Markus Friedl
wrong index used for RC4SWAP during key setup IV is stored in little endian format; works for millert@
2002-04-02fix keyid encoding wi_tx_keyMarkus Friedl
2002-04-02Prism2 firmware should be reported as version a.b.c not a.b variant c.Todd C. Miller
Only Lucent uses the 'variant' form. Also, prism2 firmware 0.8.2 does WEP w/o requiring promisc mode (from NetBSD). OK mickey@
2002-04-02always reset promisc in hostap mode (a comment added), a couple of ↵Michael Shalayeff
formatiing and byte-swapping fixens as well
2002-04-01freem mbuf on input pkt check failureMichael Shalayeff
2002-04-01killed a char accidentallyMichael Shalayeff