summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2005-12-14convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@Todd C. Miller
2005-12-14Prevent access to PCI config space for function >0 on bus 0.Mark Kettenis
Fixes Xorg PCI scan. ok drahn@
2005-12-14Add a __statement macro to use with gcc statement expressions insteadTodd C. Miller
of using __extension__ directly. This lets us define away the whole thing when lint is in use.
2005-12-14Make clock_t consistent across platforms as a 32 bit int. OK deraadt@Todd C. Miller
2005-12-14Don't hard-code card present and number of socket bits in the PCMCIA busUwe Stuehler
configuration register, but control these bits from PCMCIA code. ok drahn@
2005-12-14Remove useless crap that was there from the beginning. One particularUwe Stuehler
tweak only prevented access to the flash controller.
2005-12-14some codecs have an external amplifier, and in some hw the bit to poweringFederico G. Schwindt
it down seems to be inverted, so rather than guessing or workaround this, add a extamp var so it can be toggled in userland via mixerctl(1). audio works in hp nx6125 now; tested by todd@, mickey@ ok.
2005-12-14timeout code is not so happy with the negative valuesTed Unangst
2005-12-14Add AC device.Marco Peereboom
2005-12-14Add AC device glue.Marco Peereboom
2005-12-14Add AC device.Marco Peereboom
2005-12-14change wait message for thrsleep to "thrsleep"Ted Unangst
2005-12-14Adjust debug printing levels to something more sane.Marco Peereboom
2005-12-14KNFMarco Peereboom
2005-12-14Add the last bits and cleanup advice from dlg.Marco Peereboom
2005-12-13print lapic clock in mhz (instead of hz)Michael Shalayeff
2005-12-13Use shiny new acpibat.hMarco Peereboom
2005-12-13First stab at battery constants and structures.Marco Peereboom
2005-12-13remove ad clause that got copied from older versions of the files; pto by jsg@Michael Shalayeff
2005-12-13add novatel NRM6831; from Felix Kronlage <fkr@hazardous.org>Michael Shalayeff
2005-12-13Deal with ki2c(4) controllers with multiple i2c busses.Mark Kettenis
tested by xsa@
2005-12-13add new device.Dale Rahn
2005-12-13syncDale Rahn
2005-12-13support cdce mode.Dale Rahn
2005-12-13Prevent recursive interrupts. Solves kernel stack overflow on i386 underAaron Campbell
heavy network interrupt load (I can reproduce with an ARP flood) with an MP kernel. Patch from NetBSD PR20180. Has been in snapshots for a bit. Testing by pedro@, jolan@. deraadt@ ok
2005-12-13- Add a whole bunch of new PCI ids.Brad Smith
- Remove the version ("valance") check as it is not necessary. From FreeBSD ok mickey@
2005-12-13Whoops, need to #undef _BIG_ENDIAN not _BYTE_ORDERTodd C. Miller
2005-12-13use consistent naming for members of the softc structDavid Gwynne
2005-12-13the megaraid i4 and my dell perc 3/dc share the same vendor and productDavid Gwynne
ids, but the i4 is considered broken while my perc is definately working fine. so instead of marking all the devices with this vendor and product id as broken, we use the pci subsys ids to determine if the device needs a quirk. ok krw@ marco@
2005-12-13ansi/deregister. No binary change.Jonathan Gray
2005-12-13Correct typos in comments. From pedro la peu.Jonathan Gray
2005-12-13make exiting actually work when a thread receives a signal.Ted Unangst
previously, the child and parent would deadlock in the kernel and be unable to exit. help with diagnosis from art@.
2005-12-13stupid me got the cast backwardsTed Unangst
2005-12-13Add acpibat device but keep it disabled.Marco Peereboom
2005-12-13Add glue to attach devices to apci.Marco Peereboom
2005-12-13Need some stuff outside of dsdt.c so create a .hMarco Peereboom
2005-12-13Add battery device.Marco Peereboom
2005-12-13rebuildTed Unangst
2005-12-13thrsleep and thrwakeup, cast syscall arg from void * to long.Ted Unangst
2005-12-13change the first arg to thrsleep and thrwakeup to a void *.Ted Unangst
i had initially selected long since the kernel doesn't attempt to interpret this value in any way, but since it is always a pointer value in practice, this makes a little more sense. binary compat in any case. suggestion from deraadt@
2005-12-13if_san_common.cCan Erkin Acar
2005-12-13It would seem that some cards do not get reset correctly if RESET isUwe Stuehler
held only for 10us but the same cards work just fine on other platforms. A really long delay lets those cards reset correctly on zaurus, but it is only an ugly workaround until the socket setup is fixed. ok for now fgs@, drahn@
2005-12-13Added new objtype values to amltypesJordan Hargrave
Added evaluation for match object, logical operations, conversions ok marco@
2005-12-13Add check for return value in recvcmd.Marco Peereboom
Unmap ipmi registers if attach fails. ok jordan@
2005-12-13no need for device name before failTheo de Raadt
2005-12-13Don't continue to poke ipmi registers if the ID command fails.Marco Peereboom
ok jordan@
2005-12-13the status field for power supplies is different to the rest of theDavid Gwynne
sensors. as a result i wasnt being shown that i have a failed power supply. power supplies now show up like this: hw.sensors.14=esm0, Power Supply 1, OK, raw, 65359 hw.sensors.15=esm0, Power Supply 2, OK, raw, 65359 hw.sensors.16=esm0, Power Supply 3, CRITICAL, raw, 65347 anyone got a spare 2500 power supply they want to send to me? ok deraadt@ marco@ jordan@ VS: ----------------------------------------------------------------------
2005-12-13nuke unused BTOPKERNBASE defineMartin Reindl
pointed out by miod@
2005-12-13Pchip0 PCI memory starts at 0x80000000000, correct and useMartin Reindl
P_PCI_MEM accordingly pointed out by KUDO Takashi in PR 4936 ok deraadt@ miod@
2005-12-13Don't retry unsupported SCSI commands, causing large delays duringKenneth R Westerback
boot process. Same as done to gdt and ioprbs. ok nate@