summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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-14My lack of faith... These lines should stay, reported by ajacoutot@.Martin Pieuchot
ok sthen@
2013-03-14tedu faith(4), suggested by todd@ some weeks ago after a submission byMartin Pieuchot
dhill. ok krw@, mikeb@, tedu@ (implicit)
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-13Allow octeon to reboot by poking the right address for a soft cpu reset.Jasper Lievisse Adriaanse
No more yanking the powercable when I hit ddb :) also tested by bcallah@ ok bcallah@ chris@ yasuoka@
2013-03-12preserving main-branch topology for a perverse reason:Theo de Raadt
step 3 - re-merge 1.116 to 1.118
2013-03-12preserving main-branch topology for a perverse reason:Theo de Raadt
step 2 - re-merge 1.119 (the WAITOK diff)
2013-03-12preserving main-branch topology for a perverse reason:Theo de Raadt
step 1 - backout 1.116 to 1.119
2013-03-12Fix horrible typo of mine checking for WAITOK flags, found by sthen.Bob Beck
This fix actually by mikeb@, this needs thorough testing to verify it doesn't bring up other issues in what it hid. ok deraadt@
2013-03-12Fake 'SMBIOS detection' for the Soekris boxes, by Matt DaintyTheo de Raadt
This will make it easier to have device drivers for some oddities these machines have ok kettenis, assume jsg is ok with it too
2013-03-12Fix kernel profiling on MP systems by using per-CPU buffers and teachMartin Pieuchot
kgmon(8) to deal with them, this time without public header changes. Previously various CPUs were iterating over the same global buffer at the same time to modify it and never ended. This diff includes some ideas submited by Thor Simon to NetBSD via miod@. ok deraadt@, mikeb@, haesbaert@
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-11Add a separate "translation" counter and use this rather than "memory"Stuart Henderson
when address translation fails due to no free ports in the configured range. ok mikeb@
2013-03-11Remove unused code manipulating a default interface and its index,Martin Pieuchot
This is a leftover from the on-link assumption behavior removal, which has been deprecated by RFC4861 anyway. ok mikeb@, bluhm@, florian@
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-10this ramdisk is just for one machineTheo de Raadt
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-10Switch to ANSI C prototypes. Diff by somebody else which I no longer remember.Claudio Jeker
No binary change.
2013-03-10Do not try to scan the ADB bus for devices if the device-tree does notMartin Pieuchot
contain an adb node. This workaround is required by some PowerBooks without ADB bus to prevent their PMU from shutting down the machine. Tweaked from a submission by Daniel Dickman.
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-09RAMDISKC wil be needed for alphabook1Theo de Raadt
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-09re-arrange the pre-accounting of the objects in the buffer so itTheo de Raadt
is clearer; ok sthen
2013-03-09remove unneccessary needs-flagTheo de Raadt
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-09normalize structure definitionsTheo de Raadt
2013-03-09turn off debug features we do not needTheo de Raadt
2013-03-09First steps towards alphabook1 support; from netbsdTheo de Raadt
miod did not disagree.
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-08Stop defining __NO_ISA_INTR_CHECK and add a real isa_intr_check() function.Miod Vallat
Allows pcic to attach and correctly pick a suitable interrupt on Multia.
2013-03-08Always initialize the direct DMA window, instead of relying upon SRM to do so;Miod Vallat
many LCA-based systems apparently don't. From NetBSD.
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-07Remove unused ifa_ifwithaf() function.Martin Pieuchot
ok mikeb@, miod@