summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
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
2007-09-23More debug ouput cleanup.Marcus Glocker
2007-09-23Correctly clear PCI_STATUS_TARGET_TARGET_ABORT bit.Marcus Glocker
2007-09-23Properly handle the physical address in bwi_encap() as well.Jonathan Gray
With this change I can now scan, associate and ssh via bwi(4)
2007-09-23Make sure to set physical address in bwi_newbuf()Jonathan Gray
2007-09-22Obvious M_ZERO/bzero() change. Note that isp_param is void *, so theKenneth R Westerback
idiom 'malloc(sizeof(*isp_param) ...' is not possible. May even fix a couple of bugs. In two places 2*n was malloc'd, but only n was bzero'd.
2007-09-22replace even more ctob and btoc with ptoa and atop respectively plusMartin Reindl
uvm_extern.h where needed
2007-09-22regenFelix Kronlage
2007-09-22whitespace nitsFelix Kronlage
ok jsg@