summaryrefslogtreecommitdiff
path: root/sys/arch/i386
AgeCommit message (Collapse)Author
2006-01-10comment amdpmTheo de Raadt
2006-01-08Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2Todd C. Miller
2006-01-06Don't redefine SIZE_MAXTodd C. Miller
2006-01-06Adapt things to use __type_t instead of _BSD_TYPE_T_Todd C. Miller
Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
2006-01-06Merge machine/ansi.h and machine/types.h into machine/_types.h andTodd C. Miller
rename the types using the __ protected namespace (e.g. __size_t). Idea from FreeBSD.
2006-01-06Err, commited from the wrong treeAlexander Yurchenko
2006-01-06Fix acpi includes.Alexander Yurchenko
2006-01-05enable nviicDavid Gwynne
ok deraadt
2006-01-05Enable amdpm; ok deraadt@.Alexander Yurchenko
2006-01-05Check securelevel and machdep.allowaperture for i386_set_ioperm() theMatthieu Herrb
same way as for i386_iopl(). ok deraadt@
2006-01-05enable ixgbTheo de Raadt
2006-01-05Don't change pins state on attach.Alexander Yurchenko
2006-01-05Add SMBus host interface support for amdpm(4).Alexander Yurchenko
ok deraadt@
2006-01-05interacting with the watchdog while we're in the middle of updating sensorsDavid Gwynne
is bad(tm). if updates are happening then make esm_refresh to do esm_watchdogs work after its own.
2006-01-04esm_cmd has to wait for two registers to change state for every commandDavid Gwynne
that you issue to the controller. the current code works around busy waiting on the first register by retrying it in a new tick of softclock, but the second register was still handled with a busy wait. esm_cmd now returns which register it is up to dealing with so you can resume the command at the right point in a new tick. this drops the cpu usage when doing the updates from roughly 15% time in interrupts down to barely noticable. looks reasonable deraadt@ commitsky! marco@
2006-01-04driver for the nvidia nforce2/3/4 smbus controller.David Gwynne
2006-01-02remove last traces of __BROKEN_INDIRECT_CONFIG.Brad Smith
Thanks to aanriot@ and Michael Knudsen for checking that alpha/i386/macppc kernels still compile.
2006-01-02Correctly set the %di register on PXENV calls. This should helpTom Cosgrove
older PXE clients get a bit further. Prompted by Rolf Sommerhalder's comments on misc@. ok krw@ (thanks) "no objection" mbalmer@ "go for it" fgsch@ "fine" deraadt@
2006-01-01Adjust for renamed VIA VT8233 PCI ID's.Mark Kettenis
ok brad@, deraadt@
2006-01-01Let cons_init() and cons_init_bell() initialize the whole consdev structure,Miod Vallat
thus removing the need for drivers to initialize cn_pri to CN_DEAD when hardware probe fails.
2005-12-31Kill a pcvt leftover.Miod Vallat
2005-12-31Split the d_type field of cdevsw entries into d_type and d_flags for clarity.Miod Vallat
Discussed with and ok deraadt@ millert@
2005-12-31amdiic enable. if problems or worries, we shut things off before a releaseTheo de Raadt
2005-12-30add asbtm iic sensor; ok kettenis@Damien Miller
2005-12-30Now that errno.h and sys/errno.h are separate header files there is noTodd C. Miller
need to use the -Derrno=errno workaround added when __errno() was introduced. OK deraadt@
2005-12-29right spotTheo de Raadt
2005-12-29add admcts(4)Theo de Raadt
2005-12-29Add viapm(4).Mark Kettenis
2005-12-29remove bad newline for the secondary PCI bus with the 82450KX/GX chipsetBrad Smith
which was introduced in rev 1.11. thanks to marco@ for pointing out the issue, testing and ok'ing the diff.
2005-12-27enable some i2c bus drivers (piixpm(4), alipm(4), ichiic(4)) as neededTheo de Raadt
by each arch enable adc(4), admtemp(4), admlc(4), admtm(4), admtmp(4), admtt(4), adt(4), lm(4), lmenv(4), lmtemp(4), maxds(4), and maxtmp(4) iic chip drivers too, which provide gobs of sensor info
2005-12-27Remove unused sw_nblks field of struct swdevt. Then, remove swapconf()Miod Vallat
which duplicates work done by uvm_swap_init().
2005-12-25KERN_RESOURCE_SHORTAGE -> ENOMEMMiod Vallat
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: ----------------------------------------------------------------------