summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2008-05-23Bye bye awi(4). No net80211 love, uses its own WEP code and has not workedBrad Smith
properly in 8.5 years so just garbage collect the driver. ok damien@ deraadt@
2008-05-22More timeout(9) usage cleaned up.Michael Knudsen
ok claudio
2008-05-21Switch i386 from pccom to com. Welcomed by many.Mark Kettenis
ok dlg@, jsing@, deraadt@
2008-05-13Remove commented out NetBSD __KERNEL_RCSID macro usage.Brad Smith
ok dlg@
2008-05-11Fix a typo with the media duplex flag being used for AUI connectionsBrad Smith
so that the status routine will properly display half duplex instead of full. ok henning@ krw@
2008-05-09- Count excess and late collisions as output errors.Brad Smith
- Count receive errors as input errors. Based on similar change to the gem(4) driver from NetBSD. ok kettenis@
2008-04-30fix serial console handling on amd64. currently only glass console everDavid Gwynne
works, even if the boot loader is configured to use serial console. after the changes jsing and i made, the initial probe of the serial port was failing since the default base addres for the port is invalid. cos of that the kernel would only ever consider the glass console for use. this fixes it by reprobing the serial port if we get any config for it from the boot loader. advice on aesthetics from miod@ advice and ok from kettenis@
2008-04-26hardware TKIP (including MIC) + CCMPDamien Bergamini
2008-04-26Keep order of "#if defined..." consistent.Mark Kettenis
2008-04-25the code that parses arguments from the boot loader on amd64 wasnt checkingDavid Gwynne
what type of console was specified, so when a glass console was used it was still configuring serial bits. this makes it so serial config only occurs for serial console devices. found by jolan@, thib@, and maybe sthen@ sorry guys
2008-04-24MD_ISA_IOT is not defined anywhere so get rid of it.Joel Sing
Spotted by drahn@, ok dlg@
2008-04-24Keep order of "#if defined..." consistent.Joel Sing
ok dlg@
2008-04-24Clean up comments.Joel Sing
2008-04-24Cleanup serial console handling and remove some of the MD code from com.c.Joel Sing
Specify the serial configuration from within the MD code, rather than passing things via macros. This will allow other platforms to more readily change the serial console configuration. Committing this so it actually gets tested. ok dlg@
2008-04-24some ciss(4) firmwares use different physical drive addressing, resultingJakob Schlyter
in bioctl(8) functions not available; pr#5682. code from mickey. tested by several people. ok dlg@ krw@
2008-04-23Remove driver for pre 802.11 RangeLAN2 wireless devices.Jonathan Gray
It doesn't compile, was never finished, is now irrelevant, and miod has taken it apon himself to scare good boys and girls by suggesting they read the code. ok dlg@
2008-04-20Move the threshold fix from the re(4) code back into the header asBrad Smith
it was going to be before the release. No functional change. prodded by kettenis@ ok dlg@
2008-04-20- Recognize the 8168C chipset.Brad Smith
- Add some more defines for the 8168C chipset. From NetBSD ok dlg@
2008-04-20Remove redundant checks for the 8139C+ chipset, this code can onlyBrad Smith
be reached if using the 8139C+ chipset. ok dlg@
2008-04-20- Add some more defines.Brad Smith
- Use one of the new defines in the re(4) code to remove a magic number. - Correct a comment. - Fix a typo. Most of this is from NetBSD. ok dlg@
2008-04-20Remove unused flags.Brad Smith
ok dlg@
2008-04-20Don't bother to call rl_rxeof() twice if both the RX Ok and Err bits are set.Brad Smith
Based on the same change to re(4) quite some time ago. ok dlg@
2008-04-18extend the if_ethersubr.c crc functions to support updating a runningDamien Miller
crc in addition to the existing "oneshot" mode and use them to replace ieee80211_crc_update() with the new ether_crc32_le_update(). Saves 1k kernel bss + some code. Mark the new ether_crc32_[lb]e_update functions as __pure for a ~25x speedup (on my i386 at least). feedback and ok damien@
2008-04-17save some space by making use of the WEP CRC table from net80211Damien Bergamini
and use the ieee80211_crc_update() function too. not tested as I do not have a wi(4) but I see no reason why it would not work. "Just be brave" deraadt@
2008-04-17do not blindly call ieee80211_get_hdrlen() in rt2860_rx_intr().Damien Bergamini
we may end up passing control frames (ps-poll or others) which is not supported by ieee80211_get_hdrlen(). first found by pedro la peu, reminded by jsg@ closes kernel/5750
2008-04-16Kernel implementation of the 4-way handshake and group-keyDamien Bergamini
handshake protocols (both supplicant and authenticator state machines) as defined in the IEEE 802.11i standard. Software implementation of the TKIP (Temporal Key Integrity Protocol) and CCMP (CTR with CBC-MAC Protocol) protocols. This diff doesn't implement any of the 802.1X authentication protocols and thus only PSK authentication (using pre-shared keys) is currently supported. In concrete terms, this adds support for WPA-PSK and WPA2-PSK protocols, both in station and hostap modes. The following drivers are marked as WPA-capable and should work: bwi(4), malo(4), ral(4), iwn(4), wpi(4), ural(4), rum(4), upgt(4), and zyd(4) The following options have been added to ifconfig(8): wpa, wpapsk, wpaprotos, wpaakms, wpaciphers, wpagroupcipher wpa-psk(8) can be used to generate keys from passphrases. tested by many@ ok deraadt@
2008-04-15It turns out the mysterious chip with the heatsink glued on, found on mgxMiod Vallat
video boards, is a known entity, so add support for 2d acceleration with the help of the X code (which makes baby Jesus cry). The blitter is fast enough to make a cgsix feel as slow as a cgthree in comparison.
2008-04-12Tighten check for consoleness by comparing comconsiot as well as comconsaddr.Mark Kettenis
ok deraadt@
2008-04-10the success of a command is reported in the mbox, but not passed on to theDavid Gwynne
completion routines to do anything useful with. this stashes the commands status in the ccb for the ccb_done handlers to use. the completion path for passthru commands now checks the mbox status to see if the command actually works. this prevents phantom devices from appearing on the passthru busses.
2008-04-09Increase buffer size sent to the fifo, and clamp the size correctly.Theo de Raadt
Scrub the buffer afterwards, too
2008-03-31Add define for 24 hour time.Joel Sing
2008-03-20VLAN tag info must be inserted into all descriptors of a multi-descriptorBrad Smith
packet transmission. From NetBSD Fixes PR 5655. Tested by Panagiotis Efstratiou <slasher at ee dot auth dot gr>, brad@ and sthen@
2008-03-19Make sure we pass the right argument to isp_wdog() when setting timeouts.Mark Kettenis
ok deraadt@
2008-03-16Make agp(4) attach at vga(4) instead of pchb(4). This is because sometimesOwain Ainsworth
agp and drm need to use the same memory mapping, the best way to deal with that is to allow them to share (that's coming later), for this to work cleanly we move the attach point of agp. Ideally most agp drivers would attach at pchb, with only agp_i810 (and any that work similarly) attaching at vga, but this will do for now. ok kettenis@, miod@.
2008-03-13Do not increment the input packet counter in these drivers asBrad Smith
ieee80211_input() already does this. Mentioned by Peter Philipp in PR 5248. ok claudio@ mglocker@
2008-03-12Set the RX FIFO threshold to no RX threshold for re(4) adapters.Brad Smith
This resolves a number of various bad symptoms experienced by numerous users especially with the adapters at Gig speed. Tested by quite a few users. From FreeBSD/NetBSD ok deraadt@
2008-03-01Resolve an issue where the Starfire chipset can get into an endless loopBrad Smith
of watchdog timeouts. This happens due to the fact that the driver counts the packets in the output queue to check for the chip hanging but whenever a watchdog timeout happens and the init routine is called and in turn the stop routine the counter is never actually cleared. From Geoff Steckel via PR 5724 ok krw@ martin@ mglocker@
2008-02-25Make bwi compile in debug mode again.Marcus Glocker
2008-02-25Sync up with DragonFlyBSD driver. Please read their commit messageMarcus Glocker
for details: http://leaf.dragonflybsd.org/mailarchive/commits/2008-02/msg00165.html Tested and OK brad@, kettenis@
2008-02-21Some fxp(4) chips do not like having their status/command registers accessedBrad Smith
as 8-bit reads/writes even though they are 16-bit. This can cause the respective interfaces to lock up until the system is hard rebooted. Having the driver read/write to these registers as 16-bit entities resolves the instability. From mickey@ ok krw@ sthen@ dlg@
2008-02-20- Only clear the IFF_OACTIVE flag if packets were processed.Brad Smith
- Only clear the watchdog timer if there are no more packets to process otherwise rearm the timer. From mickey@ Tested by krw@, mikeb@ and brad@ ok dlg@
2008-02-17Simplify the hw revision handling by removing the use of theBrad Smith
rl_type softc field and only relying on the sc_hwrev softc field thoughout the driver. Tested by a number of users from tech@ ok dlg@
2008-02-16Zap KKASSERT porting macro and use KASSERT instead.Marcus Glocker
2008-02-16Count output packets.Marcus Glocker
2008-02-16Replace bwi_rate2plcp() with ieee80211_rate2plcp().Marcus Glocker
2008-02-16Fix spacing / comments.Marcus Glocker
2008-02-16While importing the driver a lot of printf's have been converted toMarcus Glocker
DPRINTF's by mistake. Fix this so we can see fatal errors without beeing in DEBUG mode.
2008-02-16Report rssi and rate in rx radio tap.Marcus Glocker
From the DragonFlyBSD driver.
2008-02-16Return NO_CCB and not TRY_AGAIN_LATER when running out of ccb's.Kenneth R Westerback
Eliminates 'not queued' errors reported on the mailing lists. Tested by Michael (belenus at bsdmail dot de). ok marco@
2008-02-16Better support for 11b mode.Marcus Glocker
From the DragonFlyBSD driver.