summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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@
2013-03-07Remove the IFAFREE() macro, the ifafree() function it was calling alreadyMartin Pieuchot
check for the reference counter. ok mikeb@, miod@, pelikan@, kettenis@, krw@
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-07Use switch statement for determining when to configure the L2 cache.Brad Smith
ok miod@
2013-03-07Reword some wrong comments and some improperly formatted comments and addMike Larkin
information about piglet memory layout. No functional changes.
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-06Account for the size of the allocation when defending the pagedaemon reserve.Bob Beck
Spotted by oga@nicotinebsd.org, with help from dhill@. Fix by me. ok miod@
2013-03-06Fix a bad comparison when calculating the size of the hibernate signatureMike Larkin
block ok deraadt@
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-04Replace the cast to struct in6_ifaddr pointer with the ifatoia6() macro.Alexander Bluhm
No binary change. OK claudio@
2013-03-04When deleting an IPv6 interface address, also remove the prefix andAlexander Bluhm
the cloning route. bug report and test Florian Riehm; original fix sperreault@; OK claudio@
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-03Use local vm_physseg pointers instead of compting vm_physmem[index] gazillionsMiod Vallat
of times. No function change but makes the code a bit smaller. ok mpi@
2013-03-03Make sure that IPv6 source address selection only chooses a CARPAlexander Bluhm
address if the interface is in master state. Disable duplicate address detection on CARP interfaces as the peer may have the same addresses. Test and OK sthen@ florian@ benno@ camield@
2013-03-02Simplify uvm_pagealloc() to only need one atomic operation on the page flagsMiod Vallat
instead of two, building upon the knowledge of the state uvm_pagealloc_pg() leaves the uvm_page in. ok mpi@
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-02Replace magic numbers with more meaningful (1 << interrupt#) constructs.Miod Vallat
No functional change.
2013-03-02When stealing an ASID, pass sh_tlb_invalid_asid() the involved ASIDPhilip Guenther
instead of -1. ok and prod from miod@
2013-03-02Prefer a pc-relative relocation to mcount(); gets rid of the last TEXTRELMiod Vallat
relocation in libc.so. From NetBSD.
2006-10-06Preliminary bits for SuperH-based ports, based on NetBSD/sh3 codebase withMiod Vallat
minor changes.