summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2006-09-18More uath devices, also properly mark some of the UB52/AR5005UX devicesJonathan Gray
with the dual band flag.
2006-09-18regenJonathan Gray
2006-09-18More uath devices.Jonathan Gray
2006-09-17add a flag to indicate which boards are only capable of 10/100 modes ofBrad Smith
operation.
2006-09-17Readd the Dell PHY LED setup workaround and the Jumbo capability flag.Brad Smith
2006-09-17Try to reclaim the TX descriptors in the watchdog handler before actuallyBrad Smith
issuing a watchdog reset of the interface. From yongari@FreeBSD
2006-09-17Overhaul RX path to recover from mbuf cluster allocation failure.Brad Smith
- Create a spare DMA map for RX handler to recover from bus_dmamap_load() failure. - Make sure to update status bit in RX descriptors even if we failed to allocate a new buffer. - Don't blindly unload DMA map. Reuse loaded DMA map if received packet has errors. From yongari@FreeBSD Tested by myself and a number of end-users on i386/amd64/sparc64
2006-09-17do not fill in the anar for the manual 1000baseT media setting case.Brad Smith
2006-09-17Move get ipmi id into the match function. This prevents attach from beingMarco Peereboom
called whenever there is no BMC and hence suppresses a ugly message when a bios lied that it had ipmi. tested beck@
2006-09-17Re-add the link state check to re_start(), which was added in rev 1.31 andBrad Smith
removed in rev 1.43 just before release, as a workaround for a link state issue found with the 8139C+ chips. Due to the different bit layout used by the 8139C+ chips rlphy(4) was not reporting the correct link status. Fix from yongary@FreeBSD Tested by maja@
2006-09-17set the IFCAP_VLAN_MTU flag.Brad Smith
From bouyer@NetBSD
2006-09-17revert revision 1.131, the code in question was later found to not ensureBrad Smith
the proper alignment requirement for the VLAN layer on strict alignment architectures. This would result in Jumbo's working fine as long as VLANs were not in use. If VLANs were in use and a packet comes in with a size of 2046 bytes or larger, it would be corrupted as it came up through the VLAN layer. Also check the hw max frame size, instead of the MTU, so the alignment fixup is done as appropriate. Fixes PR 5185. Tested by Rui DeSousa with macppc and myself with alpha/sparc64.
2006-09-17- correct the firmware synchronization in bge_reset(), thisBrad Smith
eliminates firmware timeouts for the BCM5752 as the hw firmware was coming up too fast for the driver. - remove the redundant firmware check in bge_chipinit(). Tested by pedro la peu <pedro at am-gen dot org> on an IBM ThinksPpad Z61m with a BCM5752, as well as the 5700/5703/5704 and 5750. The initial diff for bge_reset() and other information from David Christensen <davidch at broadcom dot com>.
2006-09-17defer establishing the interrupt until later during attach, to let theBrad Smith
driver finish initializing. fixes a panic in bge_intr() upon bootup on some systems running non-MP kernels. Issue reported/fix tested by jolan@, also mentioned in PR 5114 though the issue is intermisttent on the IBM e326m.
2006-09-16add new uath(4) ids and fix existing ones.Damien Bergamini
ok deraadt@
2006-09-16sync (uath)Damien Bergamini
2006-09-16add new uath(4) ids and fix existing ones.Damien Bergamini
ok deraadt@
2006-09-16sync (uath)Damien Bergamini
2006-09-16more uath(4) usb ids.Damien Bergamini
from jsg@
2006-09-16indentDamien Bergamini
2006-09-16fix a buggy printf.Damien Bergamini
in case something wrong happens in the Tx path, don't free a mbuf that is left in if_snd. ok deraadt@
2006-09-16sync (uath)Damien Bergamini
2006-09-16Initial import of uath(4), a driver for Atheros USB2.0 AR5005UG/AR5005UXDamien Bergamini
chipsets. Based on a black-box analysis of the Windows binary driver. Requires a firmware that is not freely redistributable (see man uath). The driver handles both pre- and post-firmware devices. Still a bit experimental but Tx/Rx works great in BSS mode (on i386). No 802.11a, IBSS, or HostAP modes yet but there's more to come. Great thanks to jsg@ for digging the USB IDs out of the Windows driver. Committed over a D-Link DWL-G132.
2006-09-16Get subvendor from the PROM instead of the PCI configuration space, since theMark Kettenis
latter gets reset if you netboot from an interface. ok miod@, brad@, deraadt@
2006-09-16Don't panic if firmware files are not in place. Ja ja ja ja claudio@.Marcus Glocker
ok deraadt@
2006-09-16Bring pgt(4) in a working state. Much work also done by claudio@.Marcus Glocker
ok deraadt@
2006-09-16rework the handling of the errors coming off the hardware at the bottom ofDavid Gwynne
mpi_scsi_cmd_done. this makes it more appropriate for our midlayer. ok beck@ deraadt@
2006-09-16Asking for HWERR interrupts and not acknowledging them leadsJonathan Gray
to interrupt storms on several machines, so don't ask. Diff from kettenis@ who can't commit at the moment. ok deraadt@
2006-09-16Support for Intel 6321ESB SATA. Tested on one of cloder's newJonathan Gray
Xeon systems. ok cloder@ deraadt@
2006-09-16Match VIA VT8237A SATA which while untested should act likeJonathan Gray
the older VIA SATA devices for our purposes going by FreeBSD. ok deraadt@
2006-09-16regenJonathan Gray
2006-09-16VIA VT8237A SATAJonathan Gray
ok deraadt@
2006-09-15Reserve some commands slot for bioctl/sensorsd so ciss doesn't crashKenneth R Westerback
under load when bioctl/sensorsd are active. Better fix post-4.0. Problem found, fix tested by Johan Mson Lindman. ok dlg@ marco@ mickey@ deraadt@
2006-09-15Kettenis's polished version of diff to preserve the mac address on thecus,Dale Rahn
if the hardware mac is a specific number (hardware doesn't provide unique mac addresses except in redboot fconfig data). yes deraadt@
2006-08-31ciss can't do bio ioctl's when >1 logical device is defined. Bail outKenneth R Westerback
of ciss_ioctl if >1 logical device is present. Fixes dereferencing of uninitialized pointer. From mickey@ ok deraadt@
2006-08-31Start to get interface attach working.Marcus Glocker
ok deraadt@
2006-08-31Some first cleanup run.Marcus Glocker
ok deraadt@
2006-08-31Bring chip into initialized state.Marcus Glocker
ok deraadt@
2006-08-31Oops! Disable debug.Marco Peereboom
2006-08-31Add sensor thread for individual sd devices.Marco Peereboom
tested dlg ok dlg deraadt
2006-08-31Do proper chipset identification.Marcus Glocker
ok deraadt@
2006-08-31Prerrt print volume nr in dmesg.Marco Peereboom
ok mickey, deraadt, krw
2006-08-31Get firmware loaded.Marcus Glocker
ok deraadt@
2006-08-30Try to read station address from the chip first, then try the EEPROM (if weMark Kettenis
think it is there). On sparc64 try to read the local-mac-address property from Open Firmware and as a last resort use the idprom property. Hopefully fixes reading the station address on the Blade 1500. ok deraadt@
2006-08-30Return from channel tuning code if we get IEEE80211_CHAN_ANYJonathan Gray
as per other drivers instead of doing panics. Should workaround PR 5206 which I could never manage to reproduce, though we really shouldn't be getting IEEE80211_CHAN_ANY here. ok deraadt@
2006-08-30when determining the size of the volumes and disks we want how manyDavid Gwynne
bytes each of them has, not the number of kilobytes. this solves the "why am i dividing by 2" question. the answer is "you dont, you multiply by 512".
2006-08-29#undef I2C_VERBOSEMark Kettenis
ok deraadt@
2006-08-29Add support for onboard bge(4)'s on Sun UltraSPARC hardware that apparentlyMark Kettenis
come without an attached SEEPROM. ok deraadt@
2006-08-29Don't panic when watchdog timeout is called.Marcus Glocker
formal ok deraadt@
2006-08-29Fix a possible kernel panic in ucom(4) that is caused by ttyclose() using dataMarc Balmer
already freed by ucom_close(). Problem reported and initial patch provided by Marc Winiger <marc@winiger.ch> ok miod, deraadt