summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2014-01-06Recognize the ALC292Brad Smith
2014-01-05regenBrad Smith
2014-01-05Add Realtek RTS5227Brad Smith
2014-01-05Don't use the first 64KB for anything, including tramps. Move tramps andMike Larkin
hibernate goo up after 64KB to avoid posible corruption by buggy BIOS SMM code. Diff also ensures the first 64KB doesn't get handed to UVM either. ok deraadt@, tested by many with no regressions reported
2014-01-05On some architectures you can get away with using an uninitialised mutex;Joel Sing
this is not the case on hppa (practically the only architecture where unlocked has a non-zero value). This one has been hiding since r1.223... Found the hard way by juanfra@
2014-01-03regenJoel Sing
2014-01-03Fix previous commit, which clearly was not even compile tested, since itJoel Sing
broke the tree.
2014-01-03regenBrad Smith
2014-01-03Add some newer Intel wireless PCI ids from 2000, 2030, 135, 100, 3160Brad Smith
and 7265 controllers.
2014-01-03Add the second 7260 PCI id.Brad Smith
2014-01-02disable MSI for Samsung XP941.Gilles Chehade
This is so I can use the machine to figure out the others things on it, the quirk will go away when interrupt routing gets fixed. ok dlg@, jmatthew@
2014-01-02syncGilles Chehade
2014-01-02add vendor and productGilles Chehade
ok dlg@
2014-01-02enable beep controls on ALC221 and ALC269 as wellJonathan Gray
seems to be required when tested here
2014-01-02enable beep and CD controls on ALC282Jonathan Gray
from and tested by Mark Rowland
2013-12-31tedu the diagnostic code to detect the presence of the defective Xterasys XN-152Brad Smith
32-bit PCI NIC in a 64-bit PCI slot. The code has never been enabled, never will be and is unused / unmaintained. Update the man page to not indicate there is a possibility of the driver detecting this hardware issue. Input about the man page and Ok chris@
2013-12-31regenBrad Smith
2013-12-31another MCP61 idBrad Smith
2013-12-30Add support for newer integrated Realtek PHY.Brad Smith
Tested with 8168G controllers.
2013-12-30Have rgephy(4) always use RL_GMEDIASTAT to retrieve the link/media statusBrad Smith
when attached to re(4), as was done before rev 1.25 which was intended to fix rgephy(4) with external PHY with MACs other than re(4). This is to fix operation with some integrated PHY on re(4) where the PHY Specific Status register does not work properly and the link cannot be established. From FreeBSD and matches what the Linux driver does. Tested on a number of newer re(4) with PHYs rev 2, 4 and 5 and newer integrated PHY with the 8168G controllers.
2013-12-30Expand the MSI support to cover most of the remaining bge(4) chipsets with theBrad Smith
exception being the BCM5714 family for now. Tested on a variety of newer chipsets. ok sthen@
2013-12-30Enable snooping on Lynx Point-LP HD Audio.Jonathan Gray
Fixes audio problems on an Acer Aspire E1 572G reported by Mark Rowland.
2013-12-30Add Broadcom BCM57764, BCM57767 and BCM57787 PCI ids.Brad Smith
2013-12-30Add Broadcom BCM57764, BCM57767 and BCM57787 PCI ids.Brad Smith
2013-12-29regenMiod Vallat
2013-12-29Intel NM70Miod Vallat
2013-12-28Always call PHY_RESET upon attaching eephy(4) so as to do PHY initialization,Brad Smith
to match behavior before rev 1.52. ok deraadt@
2013-12-28Attempt to approximate what should happen on a suspend/resume cycle.Theo de Raadt
If the driver was doing some IO, we remove the timeouts, and force the fdc state machine into IOTIMEDOUT state with the final timeout count before a clean retry. In theory upon resume it should freak out quietly, and try the operation again. Noone has stepped forward to test this yet.
2013-12-28Sync activate code sequnces to if_msk.c as much as possible, in caseTheo de Raadt
one of these is ever found in a suspend/hibernate system.
2013-12-28The few network drivers that called their children's (ie. mii PHYTheo de Raadt
drivers) activate functions at DVACT_RESUME time do not need to do so, since their PHYs are repaired by IFF_UP. NOTE: if_msk is the one that previously relied on mii/eephy.c doing a crazy dance.
2013-12-28The few network drivers that called their children's (ie. mii PHYTheo de Raadt
drivers) activate functions at DVACT_RESUME time do not need to do so, since their PHYs are repaired by IFF_UP.
2013-12-28mii drivers no longer need activate functions. Repair of the PHYTheo de Raadt
configuration setting is done at resume time because all networks drivers which were previously up, do an IFF_UP operation which hits PHY_RESET. This was in snapshots for about 2 weeks.
2013-12-28Move the fairly heavy eephy_init sequence [which was only done atTheo de Raadt
attach() and activate() time] into the eephy_reset() routine. This means that a bit more work gets done at PHY_RESET time, but it means also means it gets done in all scenarios. Why? For the next commit... This was in snapshots for about 2 weeks.
2013-12-28Put the entropy_pool[] into the ELF .openbsd.randomdata segment.Theo de Raadt
Also allow random_init() to be called later, by moving a few entropy control initializions into the lower-level _rs_seed() layer. tested by jsing, phessler and a few others
2013-12-25Instead of deciding which iockbc port is the keyboard port, and which one is theMiod Vallat
mouse port, depending upon the system time, match what the prom is doing and actually probe for a keyboard on both ports, and decide the first port with a keyboard is the keyboard port. If no keyboard is found, but a mouse is found, decide the keyboard port is the empty one. If no device is found, then we can try and pick the defaults, depending upon the system we are running on, as this used to be the case (i.e. coping with Fuel having keyboard on port 1 and mouse on port 0 when connecting devices according to the chassis' markings). This is necessary because different IO9 board revisions on Tezro come with different wirings, and we can not tell these boards apart. Discussed with "nullnilaki" (nullnilaki on gmail) who is the lucky owner of an Onyx 350 with correct wiring and a Tezro with inverted wiring. Tested on Octane and Fuel with all combinations of devices connected (mouse only, keyboard only, keyboard and mouse) in both ports, glass and serial console. XXX We probably want to allow for more pckbd attachment flexibility on non-x86 XXX platforms eventually (at least where the PS/2 slots are really independent, XXX so that we can attach pckbd to any port and better cope with human error XXX when connecting devices.
2013-12-24If the FADT has its SMI_CMD set to zero, assume we're only ACPI-only hardwareMark Kettenis
and don't need to disable SMI ownership of the ACPI hardware registers. ok mlarkin@
2013-12-23regenBrad Smith
2013-12-23Add Atheros AR9462 and AR9565Brad Smith
2013-12-23Revert previous commit. It makes resume hang on some MP systems runningMark Kettenis
GENERIC.MP.
2013-12-22Try to keep the framebuffer console layout that was set up by the firmwareMark Kettenis
on sparc64.
2013-12-22Add support for BCM57786,which seems to be almost indistinguishable from theMark Kettenis
BCM57785. Tested by Mark Rowland.
2013-12-22Use the rasops_info struct as the accesscookie for wsdisplay. Simplifies theMark Kettenis
code as it allows us to use some of the rasops_xxx functions directly.
2013-12-22Bail out early if the PCI bus number is -1. This means the hardware isn'tMark Kettenis
there and the AML might reference stuff that isn't there.
2013-12-22spacing; Loganaden VelvindronTheo de Raadt
2013-12-22format string fix: %08x instead of %p for uint32_tStefan Fritsch
2013-12-22size_t format string fixesStefan Fritsch
2013-12-21Don't assign a literal number to a variable that otherwise holds an errno.Philip Guenther
ok jsing@
2013-12-21Advertise that we provide monotonic timestamps.Mark Kettenis
2013-12-21rearrange DVACT_RESUME chunk to avoid implying something ridiculousTheo de Raadt
ok stsp
2013-12-21save/restore hpet configuration. Perhaps a little more than weTheo de Raadt
need to do, since we do not use many hpet features. ok kettenis millert