summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2011-05-29pcidevs.hTheo de Raadt
2011-05-29two ATI bridges found in the x201Theo de Raadt
2011-05-29regenMark Kettenis
2011-05-29Intels calls this the 5400 chipset series instead of the E5400 chipset seriesMark Kettenis
(the latter is the name of the associated Xeon processors).
2011-05-29regenMark Kettenis
2011-05-29Fix typo in previous commit.Mark Kettenis
2011-05-29Ignore errors from the UCMS method. Some newer (really crappy, stayTheo de Raadt
away from them) thinkpads are returning garbage for the return value. We never did anything special about the return value except spit out some noise, so silence it. ok mlarkin
2011-05-28regenMark Kettenis
2011-05-28Add AMD Family 14h devices.Mark Kettenis
2011-05-28Add support for AMD SB800, where the SMBus control registers have been hiddenMark Kettenis
away. Based on a diff from Bryan Steele. ok deraadt@
2011-05-28Sync MCR0_BROADCAST register naming from FreeBSD now that itsKevin Lo
known the register is to disable broadcast instead of enabling broadcast packets. From Brad
2011-05-28age_newbuf is called from the interrupt context so it can't sleep.Kevin Lo
From Brad. Tested by Thomas Pfaff
2011-05-27Whitespace nits; from BradKevin Lo
2011-05-26The check for the mcp98243 sdtemp(4) device was too strict. Relax it.Theo de Raadt
Tested by Joe Gidi
2011-05-25wdc.c doesn't use NATAPISCSI, so no point in including atapiscsi.h.Matthew Dempsky
It's the last file referencing atapiscsi.h too, so might as well get rid of the need-flags in files.atapiscsi.
2011-05-25- For AR8132 fast ethernet controller, do not report 1000baseTKevin Lo
capability to mii(4). - Limit DMA burst size to be less than or equal to 1024 bytes. Controller does not seem to support more than 1024 bytes DMA burst. - Do not touch CMB TX threshold register when CMB is not used. From FreeBSD via Brad - Properly initialize sc_product and alc_rev early enough in alc_attach() with the PCI product id and PCI revision. - Further sync if_alcvar.h changes from FreeBSD for L2C/L1D addition commit which in OpenBSD has been merged into if_alcreg.h From Brad; tested by Gabriel Linder and edd@.
2011-05-25try to map an msi style interrupt. if that doesnt work then try to map aDavid Gwynne
normal intx style interrupt. tested on a box with three mpii(4) controllers: mpii0 at pci5 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi mpii1 at pci8 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi mpii2 at pci14 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: apic 2 int 8 no functional change, ie, everything still works. it is ok to do this in mpii(4) since it is only enabled on i386 and amd64, which are the only archs to get msi code so far. discussed with and ok kettenis@
2011-05-24Move wdc_cd from ata/ata_wdc.c to ic/wdc.c so that you can compile aMatthew Dempsky
kernel without the former. Also, eliminate two dead stores in wdcattach(). ok dlg@
2011-05-24On OpenBSD, we've always attached scsibus(4) to umass(4), even forMatthew Dempsky
ATAPI devices. atapiscsi(4) is only for handling ATAPI devices on an ATA bus, so umass(4) shouldn't care about it. ok krw@, dlg@; no objections from deraadt@
2011-05-24syncTheo de Raadt
2011-05-24a few more devicesTheo de Raadt
2011-05-24Reimplement uvm/uvm_map.Ariane van der Steldt
vmmap is designed to perform address space randomized allocations, without letting fragmentation of the address space go through the roof. Some highlights: - kernel address space randomization - proper implementation of guardpages - roughly 10% system time reduction during kernel build Tested by alot of people on tech@ and developers. Theo's machines are still happy.
2011-05-23Remove leftover include.Paul Irofti
2011-05-23Do not check malloc return value against NULL, as M_WAITOK is used.Paul Irofti
2011-05-23Fix after poolification. For reasons not completely understood, theOtto Moerbeek
fifo full check has to be protected by the mutex. ok dlg@ krw@
2011-05-22Fix a problem found where one SOC has a uart implementation that causes busDale Rahn
errors if the fifo is read when the fifo is empty. Dont read an empty fifo. ok deraaadt@ fgsch@
2011-05-22regenMark Kettenis
2011-05-22The RD890 entries here are really SR5690/5670/5650 devices.Mark Kettenis
ok deraadt@, krw@
2011-05-21Make inteldrm_intr only do any work if we know for sure that interruptsOwain Ainsworth
are unmasked (so we aren't vt switched). Delay mutex aquisition until after we've make sure we have to worry about interrupts. The ironlake version of this behaves funny for guenther@ with interaction on docking then restarting X. so has been left out of this commit until I work out what the hell is going on. Joint work with deraadt@ been in snaps for weeks
2011-05-21Introduce a flag to indicate that it is ok to use MSI on a certain PCI busMark Kettenis
and/or device. Discussed with miod@
2011-05-20sr_scsi_cmd copes with failed i/o just fine so there's no needMike Belopuhov
to panic if we couldn't allocate memory for crypto descriptors; tested by dcoppa, ok marco
2011-05-20fix copy and paste in BIOCINSTALLBOOT ioctl number.Marco Peereboom
found by Vadim Zhukov <persgray@gmail.com> ok jsing
2011-05-20Fix typo; from BradKevin Lo
ok sthen@
2011-05-20Avoid double scsi_done(xs) in error path; ok dlg@ krw@Otto Moerbeek
2011-05-19Save and restore the MSI capability registers on suspend/resume.Mark Kettenis
2011-05-18Mention new alc(4) devices in commments. No active changes.Stuart Henderson
2011-05-18Support additional L2C variants and L1D (AR813x/AR815x chips).Stuart Henderson
Tested on L1C by Abel Abraham Camarillo Ojeda, thank you. From FreeBSD via kevlo@, ok jsg@
2011-05-17update bnx firmware to the latest version in FreeBSD:Jonathan Gray
6.0.15 for BCM5706 and BCM5708 6.0.17 for BCM5709 and BCM5716 Tested on BCM5708 by naddy, BCM5716 by sthen and BCM5709 by myself. ok deraadt@
2011-05-15regenMark Kettenis
2011-05-15Fix entries for Intel 6700PXH.Mark Kettenis
ok sthen@, jsg@, henning@
2011-05-15match on LSI SAS2108/SAS2116/SAS2208/SAS2308Jonathan Gray
ok mikeb@ dlg@
2011-05-15regenJonathan Gray
2011-05-15add ids for LSI SAS2108/SAS2116/SAS2208/SAS2308Jonathan Gray
2011-05-14regenMark Kettenis
2011-05-14Keep Intel PCI IDs sorted numerically.Mark Kettenis
2011-05-14Pass flags down the PCI bus hierarchy. Soon to be used to selectively enableMark Kettenis
Message Signalled Interrupts. ok krw@ with a fix pointed out by many
2011-05-14Add register definitions for PCI MSI capaility.Mark Kettenis
ok oga@, miod@, marco@, dlg@, krw@
2011-05-09Refactor queue allocation and initialization into a wdc_alloc_queue()Matthew Dempsky
function, and let attachment code calls this rather than malloc(9). This prevents re-initialization of the queue in shared queue chipsets. Also, add wdc_free_queue() as a complementary function. Earlier version (without wdc_free_queue()) tested by sthen@ and Amit Kulkarni on various pciide(4) chips. ok dlg@
2011-05-09Initialize the wdc ata_drive_datas structs earlier in wdcattach() soMatthew Dempsky
that chip-specific drv_probe routines can assume they've already been initialized. Tested by sthen@ on i386, armish, and amd64, with both affected and non-affected pciide(4) chips. ok dlg@
2011-05-08Move ata_put_xfer() from ata_xfer to atascsi_methods. It's just sillyMatthew Dempsky
to have a non-changing function pointer be part of an object rather than it's virtual method table. ok dlg@; tested on ahci(4) by Mattieu Baptiste, jasper@, and Jason Crawford; no sili(4) testers, but identical changes to ahci(4)