summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2007-10-05The Acer TravelMate 3010 (ALC883) has a couple of gpio pins that needDeanna Phillips
to be enabled in order for it to produce sound. It can use the same gpio function as the macs, so rename that to azalia_gpio_unmute. Tested by damien@, no regressions noticed by jakemsr@
2007-10-04attribute packed -> __packedGilles Chehade
ok miod@ a while ago, ok pyr@
2007-10-04attribute packed -> __packedGilles Chehade
okayd by miod a while ago, ok by pyr
2007-10-04Import the bwi single firmware-file builder / extractor before we forgetMarcus Glocker
about it. It's not linked into microcode/Makefile. OK deraadt@
2007-10-04Since we know the firmware load works, merge the single firmware filesMarcus Glocker
together to one single, finally. You need to bump the firmware package to version 1.3! OK jsg@
2007-10-04g/c ETHER_CRC_LEN.Brad Smith
ok dlg@
2007-10-04Remove renaming of fields with #define.Brad Smith
Tested by jmc@ ok dlg@
2007-10-03add two new audio ioctls, AUDIO_GETPRINFO and AUDIO_GETRRINFO, and theJacob Meuser
data structure these ioctls use, audio_bufinfo. these ioctls return information about the play and record buffers into the audio_bufinfo structure. these are being added to aid in porting non-native audio applications and libraries, and to fix issues in our OSS audio emulation. these ioctls exist only on OpenBSD and should not be used in code intended for distribution. ok ratchov
2007-10-03MALLOC+bzero -> malloc+M_ZERO.Kenneth R Westerback
In ip_esp.c all allocated memory is now zero'd in the "malloc(sizeof(*tc) + alen ..." case. The +alen memory was not initialized by the bzero() call. Noticed by chl@. "Looks good" art@ "seems ok" chl@
2007-10-02add initial support for the Marvell PCIe Yukon FE+ Fast Ethernet chipsets.Brad Smith
Inspired by similar changes to the Linux sky2 driver. Tested by dunceor, Schoeberle Daniel, moritz@ and brad@ on existing known working adapters. These chipsets are not actually available in hardware yet. ok dlg@
2007-10-02In vr_attach() only touch the VR_STICKHW register if the adapterBrad Smith
is found to have PCI power management capability. It has been found that unconditionally touching this register with the original VIA Rhine chipset, which does not have power management capability, and due to the shorter width of the IO addess space, it is possible for the vr(4) driver to do bad things with hw with IO address space adjacent to a vr(4) adapter. Tested by a few users, brad@ and jmc@. ok dlg@
2007-10-02regenBrad Smith
2007-10-02add new Intel E1000 and 10Gb PCIe PCI ids.Brad Smith
Most of the ids were from FreeBSD though the quad port blade id came from the Linux E1000 driver. ok dlg@
2007-10-02Fiddle Sun traditional disklabel recognition to eliminate union andKenneth R Westerback
associated field access defines. This reverts most changes to dev/sun/disklabel.h without eliminating new functionality. Fix comments to line up and fit on 80 column line, making both tsi@ and I feel better. Simplify logic in disksubr.c. No semantic change. Tested & ok tsi@.
2007-10-01Spacing.Marcus Glocker
2007-10-01Fix `bogus xmit rate setup' panic, which mostly happened while associatingMarcus Glocker
to an 11b AP due to not correct initialized tx rates.
2007-10-01More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...' whereKenneth R Westerback
obvious.
2007-10-01remove rate_fb variable as it always gets set to the same valueJonathan Gray
as rate anyway.
2007-10-01Print the MAC address.Jonathan Gray
2007-10-01Disable default debug setting, make tx power map printing debug only.Jonathan Gray
2007-10-01more btoc -> atopMartin Reindl
2007-10-01Use uint_* consistent.Marcus Glocker
Agreed with jsg@
2007-10-01More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...'.Kenneth R Westerback
2007-09-30Spacing.Marcus Glocker
2007-09-30Shows the real size of a register in the hex define.Marcus Glocker
OK jsg@
2007-09-30Don't count interrupts with state "not of interest".Marcus Glocker
From Oleg Safiullin. OK jsg@
2007-09-30Add support for the high-resulution timer found in the GPS170PCI card.Marc Balmer
Thanks for otto@ for looking at the time calculations
2007-09-30BWI_BBP_ATTEN is a 16-bit register, so use CSR_WRITE_2 to access it.Mark Kettenis
Fixes unaligned access on strict-alignment architectures. ok mglocker@
2007-09-30s/NPBFILTER/NBPFILTER/ in #endif comment. No functional change.Mark Kettenis
2007-09-29Fix two panic's on macppc. Allows me first network communication overMarcus Glocker
my PowerBook G4 internal BCM4306 device.
2007-09-29Add first part of queue magic to attach.Marco Peereboom
2007-09-29make safe vnds work on block devices.Felix Kronlage
from Piotr Durlej, tested by henning@, krw@, thib@ and myself ok thib@, grunk@, krw@
2007-09-28no longer used macrosJacob Meuser
spotted by brad ok ratchov
2007-09-27Spacing.Marcus Glocker
2007-09-27Add automatic rate control (AMRR).Marcus Glocker
2007-09-27Spacing.Marcus Glocker
2007-09-27M_ZERO changesCharles Longeau
ok dlg@
2007-09-27Kill __BIT* macros.Marcus Glocker
Help and OK jsg@
2007-09-26ep(4) is totally weird. due to hardware design limitations it playsHenning Brauer
wierd games with caching mbufs. as part of that it used regular mbufs and makes them M_PKTHDR mbufs on the fly, instead of calling m_gethdr. of course it did it hackish and wrong and did not properly initialize the pkthdr fields, which stated to cause problems as soon as we started to stuff more into the packet header. so use the freshly introduced m_inithdr() to make the mbuf a pktdr mbuf. problem found + analyzed by janjaap@stack.nl PR5563, input theo, ok claudio
2007-09-26regenDeanna Phillips
2007-09-26Add Sigmatel to vendors.Deanna Phillips
ok brad, dlg.
2007-09-26Clean up STAC7661 codec: sort mixer items, add prev and next pointersDeanna Phillips
for master, remove useless pin direction calls, add mixer item for mic boost, remove useless item for the volume knob.
2007-09-25fix emulated encodingsAlexandre Ratchov
ok jakemsr@
2007-09-25Upgrade the firmware to version SNIC 0xf.David Gwynne
Here's the issue this fixes: Problem description: Tehuti NIC generated RxD descriptor with UDP checksum error bit raised for incoming UDP packet with UDP checksum field value zero. This behavior is not in accordance with UDP RFC which defines that packets with zero UDP checksum should not be verified by receiver. Solution description: Never raise RxD UDP checksum error bit raised for incoming UDP packet with UDP checksum field value zero. Many thanks to Alexander Indenbaum and the rest of Tehuti generally for notifying us and providing the new firmware under the same license as the previous revision.
2007-09-24Remove BCM4311 and BCM4312 which are PCIe chipsets and therefore will notMarcus Glocker
come in Cardbus devices. From brad@
2007-09-24Add radio tap support. We still need to calculate correct RX rate andMarcus Glocker
RX signal strength.
2007-09-24accept values > 1 for "output_muted". That's what SunOS do. SuggestedAlexandre Ratchov
by deanna@ ok jakemsr@
2007-09-24fix audioctl(1) returning bugus values of 'output_muted' because ofAlexandre Ratchov
uninitialized variable. found by deanna@, ok jackmsr@
2007-09-23Fix page fault kernel crash when changing media and device is up.Marcus Glocker
2007-09-23Add missing device name printf arguments for firmware load error output.Marcus Glocker