summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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-16Revert new check for DOS partitions running past d_secperunit (e.g.Kenneth R Westerback
r1.54 of i386/disksubr.c). The check incorrectly handled extended partitions. Possibly a symptom of a deeper problem with extended partition offsets that will be addressed post-4.0. Problem reported/fix tested by A. Velichinsky, cause diagnosed by otto@. ok pedro@ mickey@ miod@ 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-16enable pgt, even if still a wee bit buggyTheo de Raadt
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-16Do not use bus_space_write_multi and happily write to NULL and die, whenMiod Vallat
bus_space_set_region was intended. 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-09-15Reset the sysfail led on thecus, so that it doesn't blinkDale Rahn
(machines with older firmware). yes deraadt@
2006-09-01Standardize on EFBIG in bus_dmamap_load* if caller is too greedy; I hadMiod Vallat
done this 4.5 years ago already but regressions happened; reminded by a similar commit in NetBSD (from mrg@); ok damien@ deraadt@ jason@
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-31Make sure we do mbuf operations at splnet(), for some models have zeMiod Vallat
interrupting at spl4 (i.e. below splnet) and this can cause pool corruption; ok deraadt@
2006-08-31Some first cleanup run.Marcus Glocker
ok deraadt@
2006-08-31Fix handling of 64-bit quantities in Open Firmware's client interface.Mark Kettenis
Spotted by tsi@, and shamelessly stolen from his diff. Fixes several UltraSPARC-III machines wich have more than one memory bank filled. 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-31Automatically add a IPv6 link-local address to carp interfaces when theRyan Thomas McBride
virtual MAC address is set. Among other things, this makes route6d work correctly on systems with carp interfaces. In order to ensure backwards compatibility, we do not include IPv6 link-local addresses in generating the HMAC, but we accept HMACs with AND without the link-local addresses. They will be added to the HMAC in a future release. In short: this change should only affect backwards compatibility for IPv6 users who are manually adding link-local addresses on carp interfaces. testing mtu@ todd@ ok mpf@ henning@ 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-30we can fit ehci & pci verbose. Much nicer.Theo de Raadt
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-30Horrible code to work around stupid VXT2000 rom getchar() behaviour, butMiod Vallat
at least this allows our boot blocks to work with glass console on these machines now. Caution: reading this code will hurt your eyes. ok deraadt@
2006-08-30Enable VXT2000 bits now that they are worth using; ok deraadt@Miod Vallat
2006-08-30Teach the SGEC driver about the Real World:Miod Vallat
- check for error bits in descriptors, and count and report errors accordingly; make sure we do not pass up known-to-be-bad packets up the receive path. - check for various error conditions which would cause the transmit process to go to suspended state, and recover from them, before the timeout expires. - finally, on the VXT2000, the transmit process for some reason will reset its ring position to the beginning of the ring every time it completes a transmission burst, while we don't, so play with the head of ring register behind its back. This makes my VXT2000+ (net)boot multiuser. Tested on VXT2000 (ze@vxtbus), KA49 (ze@vsbus) and KA53 (ze@ibus); ok deraadt@
2006-08-30Better diagnostic messages.Miod Vallat
2006-08-30allow DIOCNATLOOK to look up NAT states for protocols without portDamien Miller
numbers, reported by Raja Subramanian; ok henning@
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-29enable arc, ok deraadt@Jolan Luff
2006-08-29#undef I2C_VERBOSEMark Kettenis
ok deraadt@
2006-08-29Fix handling of beacon frames by stations while they're associated.Damien Bergamini
Changes in the ERP information element and in the capinfo field were not detected properly, so the drivers were not able to adjust their settings (like short slot time, short preamble, protection mode etc...) dynamically. Should fix BSS mode with both 802.11b and 802.11g stations. ok reyk@
2006-08-29make ic_stats.is_rx_tooshort statistic more accurate.Damien Bergamini
cosmetic tweaks. ok reyk@