summaryrefslogtreecommitdiff
path: root/sys/arch/i386
AgeCommit message (Collapse)Author
2005-12-22Enable ichiic(4), ok deraadt@.Alexander Yurchenko
2005-12-22'spoofonly' does not mean what I thought it meant. The whole point isKenneth R Westerback
to read non-OpenBSD label information like MBRs and populate ('spoof') the OpenBSD disk label appropriately. So avoiding an I/O when doing 'spoofonly' is to miss the whole point. Backout all Sept. 26 and subsequent changes to disksubr.c files. The original CD problem with I/O errors on blank media will be addressed another way. Should fix the ext3 vs amd64 problems discussed on misc@. Thanks to steven@ for finally putting it terms that I understood. ok deraadt@
2005-12-19New Intel ICH SMBus driver to be used with the iic(4) framework.Alexander Yurchenko
ok deraadt@
2005-12-16Add delay before powering down on acpi. Give the sync some extra time.Marco Peereboom
2005-12-16Forgot to check a flag to powerdown via acpi.Marco Peereboom
ok deraadt@ jordan@
2005-12-16Power down machine from acpi.Marco Peereboom
Help deraadt, ok jordan@
2005-12-16Lose dsdt since it was moved inside acpi.cMarco Peereboom
2005-12-15shrink a littleDavid Gwynne
2005-12-15dont use the esm sensor tables to store format strings.David Gwynne
2005-12-15split esms psu sensor into 6 kernel sensors. you can easily see if theDavid Gwynne
psu is powered, switched on, overtemp, failed and so on now. ok marco@
2005-12-14make va_arg() map to nothing; ok millertTheo de Raadt
2005-12-14Add commented entries for nfe.Jonathan Gray
2005-12-14convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@Todd C. Miller
2005-12-14Make clock_t consistent across platforms as a 32 bit int. OK deraadt@Todd C. Miller
2005-12-14Add AC device.Marco Peereboom
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-13Add acpibat device but keep it disabled.Marco Peereboom
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-13First step in include files overhaul. Use __FOO_VISIBLE (as definedTodd C. Miller
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@
2005-12-12Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,Miod Vallat
otherwise it's just a waste of bytes. ok deraadt@ mickey@
2005-12-12some bioses screw the order so be extra careful to counters; been in snaps ↵Michael Shalayeff
for some time
2005-12-11add a few Intel PCI-ISA bridges.Brad Smith
2005-12-10{en,re}trys -> {en,re}tries; eyeballed by jmc@Miod Vallat
2005-12-07Add dsdt to GENERICJordan Hargrave
keep disabled 'dsdt' for now ok marco@
2005-12-01shrink code size by sharing some printf code, no change in how it worksTheo de Raadt
ok dlg marco
2005-11-30format string mishandlingTheo de Raadt
2005-11-30add a sensor type for drive status and hook esm up with it.David Gwynne
ok marco@ grange@ deraadt@
2005-11-30reorder slightlyDavid Gwynne
2005-11-30determine the status of fan, volt, and temp sensors by reading theDavid Gwynne
thresholds off at attach and then comparing the value at update to these cutoffs.
2005-11-28no need for printf; man page should describe functionalityTheo de Raadt
2005-11-28spacingTheo de Raadt
2005-11-28Added dlg@ watchdog code for enabling ESM2 watchdog timerJordan Hargrave
Fixes for watchdog code by jordan@ Spacing fixes in esmreg ok marco@
2005-11-28Fixed Motherbobrd typoJordan Hargrave
Changed type of Power Unit sensor ok marco@
2005-11-28Added sysids for PowerVault/PowerApp ESM2 systemsJordan Hargrave
Changed Register names to be more readable ok marco@
2005-11-28probe before match; ok jordan marcoTheo de Raadt
2005-11-28another dangling semicolon from Matthias BauerMichael Shalayeff
2005-11-27ISOXXX/ISO-XXX -> ISO XXXJason McIntyre
2005-11-26some cleanup from gordonTed Unangst
2005-11-25explicitly cast caddr_t to vaddr_tMichael Shalayeff
2005-11-25Remove $ on access to cpuid_level: we want to get the value of theTom Cosgrove
variable, not its address. ok weingart@
2005-11-24enable esmDavid Gwynne
ok deraadt@
2005-11-24add lint-specific hacks. at the same time, clean out a lot of ancientTheo de Raadt
cruft for old compilers and environments. there may be a 2nd round of polishing after this; ok miod and others
2005-11-24#if 0 doesnt belong hereDavid Gwynne
2005-11-24repair indent that cvs has scrwed make it extra confusingMichael Shalayeff
2005-11-24print something out when we hit unsupported devices. hopefully we canDavid Gwynne
pick up a dmesg with them.
2005-11-24white space fixesDavid Gwynne
2005-11-24break the 1:1 mapping of esm sensors to kernel sensors. according toDavid Gwynne
jordan theres an esm sensor that packs the status of four drive slots into a single reading, but it should be represented in the kernel as four separate sensors. some of the sensors (such as the pci slot ones and the hotplug status) should probably be dealt with in the same way. so esm sensors now have a list of their own types, and a mapping of these types to kernel sensor types. instead of storing the kernel sensor in the esm_sensor struct, allocate the two separately so esm_sensor can point to multiple kernel sensors. make the drives sensor fill out 4 kernel sensors. it still works on my box, but i dont have a machine old enough to see if the packed esm sensor turns into 4 kernel ones without problems. i hate how theres no mechanism to remove kernel sensors after you use SENSOR_ADD. ok marco@
2005-11-24add AMD 768 interrupt router PCI id and use the proper id for the AMD 766 ↵Brad Smith
chipset. Thanks to Gordon Willem Klok <gklok at cogeco dot ca> for testing on a 768 based board.
2005-11-23finnish the PTDPTDI and APTDPTDI conversion to PDSLOT_PTE and PDSLOT_APTE ↵Michael Shalayeff
thus reducing confusion; remove compatibility defines and comments