summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2013-03-15Delete the sequencer(4) driver, since its not used any longer. DiffAlexandre Ratchov
mostly from armani. ok miod, mpi, jsg and help from sthen
2013-03-15Rewrite receive filter handling and ioctl bits.Brad Smith
ok sthen@
2013-03-14Add some missing bits for flow control support and enable it.Brad Smith
Tested with PCI and PCIe vge(4). ok sthen@
2013-03-14- Fix passing down MAC feature flags; which fixes flow control support.Brad Smith
- Bring in a workaround for the IP1001 PHY which causes the downshift support to not function properly. From FreeBSD ok sthen@
2013-03-14Match on family 15h also.Bryan Steele
ok brad@
2013-03-14regen.Bryan Steele
2013-03-14Add AMD Family 15h devices.Bryan Steele
ok brad@
2013-03-14add macros for ap192k cards, no behavior changeAlexandre Ratchov
2013-03-14Cosmetic tweaking. No functional change.Brad Smith
2013-03-14- Remove return at the end of void functionsBrad Smith
- Move the PCI devices table up to the top
2013-03-11Separate out the common capabilities flags from the switch statementBrad Smith
added in the last commit. No functional change. ok sthen@
2013-03-11flush writes to BGE_MI_COMM by doing a read straight after. helps avoidDavid Gwynne
"APE lock request failed!" errors with HP 331T (5719) and 332T (5720) cards. found and fixed by masanobu saitoh
2013-03-10Rename write_queue_address -> setup_queueStefan Fritsch
For transports supporting several interrupts, this function needs to setup per-queue interrupts in addition of setting the queue address. No logic change. OK jasper@
2013-03-10Move sc_ih to virtio_pci_softc, it is not used outside of virtio_pciStefan Fritsch
and is really a transport-specific thing. OK jasper@
2013-03-10if_vio: Add some more debug output if VIRTIO_DEBUG is definedStefan Fritsch
Add GuestCSum feature string virtio: Make some printfs depend on VIRTIO_DEBUG OK jasper@
2013-03-10Make it possible to call wsdisplay_cnattach() to override an already attachedMark Kettenis
wsdisplay console later in the boot process. Needed for upcoming KMS changes where on i386/amd64 we will switch from vga text mode to a framebuffer console when the KMS drm driver attaches. ok miod@, mpi@
2013-03-10Rename sc_dis to sc_targets, since it is an array of targets that alsoJoel Sing
happen to be softraid disciplines. ok krw@
2013-03-09Always use the internal PHY on Apple variants, from FreeBSD. This unbreaksMartin Pieuchot
gem(4) on some PowerMac G5. tested by kirby@, ok deraadt@
2013-03-09Calculating the IP header checksum on Realtek 8168 is broken if theAlexander Bluhm
packet has IP options. Disable IP checksum offloading for the affected revisions. From FreeBSD; OK sthen@ brad@
2013-03-09Drop 3rd and 4th clauses from Bradley A. Grantham's license, from NetBSDMartin Pieuchot
via Daniel Dickman. ok deraadt@
2013-03-09Rewrite the receive filter handling code and cleanup the ioctl bits.Brad Smith
ok sthen@
2013-03-08In pcic_intr_find(), pass a correct device name to isa_intr_establish(), soMiod Vallat
that we can get reasonable debug or panic messages when things go wrong.
2013-03-08backout previous phidgets quirkjoshua stein
2013-03-07add a quirk for phidgets to attach as ugen instead of uhidjoshua stein
2013-03-07regenjoshua stein
2013-03-07add phidgets 2x2joshua stein
2013-03-07Add the PCI ids for the BCM57762 and BCM57766 chipsets.Brad Smith
ok sthen@
2013-03-07Correct the location of a DELAY() that was mismerged from FreeBSD in rev 1.319Brad Smith
within the ifmedia update function. It is supposed to come after the BGE_MAC_MODE register write. ok sthen@
2013-03-07remove spurious semicolon at end of if statement in vr_watchdog.Stuart Henderson
from oga@bitrig, ok dtucker
2013-03-07Correct the delay when programming the short cable fix. It should beBrad Smith
100us, not 100ms. From FreeBSD ok chris@
2013-03-07Rewrite the receive filter handling code and cleanup the ioctl bits.Brad Smith
ok chris@
2013-03-07XL_DMACTL is a 32bit register, use the 32bit write macro.Brad Smith
From FreeBSD ok chris@
2013-03-07Sort the CardBus ids.Brad Smith
2013-03-07Fix and simplify determining whether we're using a 8129 or 8139 chipset. OnlyBrad Smith
the 8129 PCI id is a 8129, everything else is a 8139. Allows the D-Link DFE-520TX board to work and would ensure proper determination of the chipset for at least the 8138 based boards (PCI/CardBus). Tested by kirby@ Ok kirby@ sthen@ chris@
2013-03-05Track attached softraid disciplines via a queue. This prevents the need toJoel Sing
scan the sparse SCSI targets array and simplifies code. Disciplines are now also shutdown in reverse attach order, making manually stacked softraid volumes somewhat more practical. ok krw@
2013-03-04Reorder code such that wsdisplay(4) attaches after drm(4).Mark Kettenis
Preparation for framebuffer console support on amd64/i386. tested by many ok mpi@
2013-03-04Add HG20F9 usb ethernet, from Chuck Guzis, ok jsg@Stuart Henderson
2013-03-04syncStuart Henderson
2013-03-04Add ID for a USB/Ethernet device known as HG20F9, which "borrows" linksys'Stuart Henderson
vendor id. Tweaked from a submission by Chuck Guzis, ok jsg@
2013-03-04fix format string issue when printing an error our on bge's with APE andDavid Gwynne
more than 4 pci functions. pointed out by masanobu saitoh
2013-03-04replace the LIST_ENTRY in scsi_xfer with a SIMPLEQ_ENTRY. the things thatDavid Gwynne
use it want something they can add to the end of they do horrible things to be able to do that with the LIST_ENTRY. this makes those horrible things a bit less horrible, and makes it easier to use lists of scsi_xfers in other things.
2013-03-02Decide whether to use polling or not only upon `sc_bus.use_polling', regardlessMiod Vallat
of the value of `cold'. This is similar to what the other hci drivers do, and has not caused any regressions on the few systems this has been tested on. Commited now to have a change to expose ohci-specific regressions (if any).
2013-03-02sr_alloc_resources() and sr_free_resources() can never be called withoutJoel Sing
a valid struct sr_discipline. Remove redundant NULL pointer checks.
2013-03-02Unbreak softraid compilation with debug enabled.Joel Sing
Prompted by Dmitry Bogdan.
2013-03-02match on EP80579, works fine on a machine I haveJonathan Gray
2013-02-24use dma memory for bl_pagesStefan Fritsch
This fixes a panic "Non dma-reachable buffer..." on amd64. While there, fix bus_dmamap_sync() offsets. OK: deraadt@, jsing@
2013-02-22bring back 5718/5719/5720 support again. deraadt pointed out thatDavid Gwynne
the problems i had on the xserve g5 are mostly likely specific to that machine and im inclined to agree. we're going to see a lot more machines with the new chips than people with xserve g5s. this also includes fixes for ip checksum handling compared to the code i put in before. tested by various people again. sthen@ and claudio@ have agreed to babysit this. they can back it out if im not around. ok deraadt@
2013-02-19Revert rev 1.195 forcing Intel SATA controllers in compat mode into AHCI mode.Brad Smith
This does not work and causes systems to come up without seeing any hard disk(s). The Intel documentation states that the OS should not be trying to do this, only the BIOS. ok dlg@
2013-02-18set the wireless interface priority and interfaces to the wlan groupJonathan Gray
for the remaining pre 802.11b wireless drivers. ok krw@ phessler@
2013-02-15Use uvm_km_kmemalloc_pla() to allocate dma memory below 2^28 limit,Alexandre Ratchov
allowing ice1712-based cards to work on amd64. With help from kettenis@