summaryrefslogtreecommitdiff
path: root/sys/arch/i386
AgeCommit message (Collapse)Author
2008-07-02add CRYPTOTodd T. Fries
ok deraadt@
2008-07-02add softraidTodd T. Fries
ok deraadt@
2008-07-02* Dynamically set the rbus start address. from netbsd.Federico G. Schwindt
* For amd64, remove pcibios traces. * make RBUS_IO_START, RBUS_IO_SIZE, RBUS_MIN_START and RBUS_MEM_SIZE (on i386) configurable via kernel options. * Remove unneeded headers. * Some cleanups. originally reported in pr/5829 and tested by viq <viq at viq dot ath dot cx>. fixes ian@ laptop too. kettenis@ and miod@ agrees that although not perfect, this is the right direction.
2008-07-01Remove a now unused variable.Marc Balmer
2008-07-01Stricter probing: Not only check for an AMD cpu with MSRs, but make sureMarc Balmer
it is an AMD Geode LX before reading the GLD_MSR_CAP register. Problem reported by Paul Irofti, thanks. Tested by me and sthen. ok sthen.
2008-07-01Enable FFS2 on most of the larger RAMDISK media.Brad Smith
ok deraadt@
2008-06-29Don't fail compilation if APERTURE is not defined.Anders Magnusson
Also, fail probe if APERTURE is not defined. Ok Marc Balmer.
2008-06-29Split k8_powernow_setperf into two functions, the new function calledGordon Willem Klok
k8pnow_transition handles the actual transition, this change is necessitated by some of the ACPI work which can involve dynamic changes in the available states in response to endogenous events such as removing the AC power. This new code is designed to cope with the current operating point not being among the newly available states in which case we recalculate what the current desired performance level coresponds to among the new states. Also fix a screw up with the acpi_states function (fix originally by Markus Hennecke in a diff to tech@ thanks) which resolves PR 5854. Diff tested by numerous people thanks! ok marco@
2008-06-27Clear swap encryption keys before dumping a kernel image.Miod Vallat
2008-06-27More removal of clauses 3 and 4 from NetBSD licenses.Ray Lai
OK deraadt@ and millert@
2008-06-26add bio & bioctl to a couple cd based ramdisksTodd T. Fries
ok deraadt@
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-26Typo, CMD -> AMDBrad Smith
2008-06-25Support the Intel G35 which apparently works similarly to the 965.Owain Ainsworth
Initial information, half the diff, and testing from Andrew Lutomirski, thanks!
2008-06-25this diff changes the bootloader to skip the CHS sanity check if LBAReyk Floeter
(EDD) is found and OK. it will also fix chainloading into OpenBSD from grub in a few scenarios where grub doesn't report the CHS correctly but the LBA. and we don't need CHS if there is LBA. this has been in the snapshots for a while. with input from weingart@ ok deraadt@
2008-06-25auglx(4) is an audio(4) driver for the AC'97 audio codec found onMarc Balmer
some AMD Geode LX systems with CS5536 companion chip. It works similar to auich(4) and auixp(4), but the hardware dependent parts are quite different. Tested with various PC-Engines ALIX boards (1B, 3C3) and a WebDT 186 board. feedback many, ok deraadt & jmc (documentation)
2008-06-25allow to install and boot the OpenBSD A6 partition and disklabel in anReyk Floeter
extended DOS partition. the concept of extended partitions is very simple, it is just another mbr at the partition offset (well, the standard "EBR" is a linked list with a few limitations, but this diff works with both variants). this diff has been in the snapshots for a while. with input from weingart@ and krw@ ok deraadt@
2008-06-24On user/kernel shared page table machines, do not let processes map theirTheo de Raadt
own page 0, as discussed with miod (and many others previously, including art and toby). On sparc, make this __LDPGSZ because PAGE_SIZE is non-constant ok miod tedu
2008-06-20Re-enable amdmsr(4) now that it properly checks for AMD Geode LX CPU andMarc Balmer
the presence of the graphics processor. ok deraadt
2008-06-19comment out the com4 because -- even when disabled -- it shuffles all theTheo de Raadt
other com port numbers and is really really hard to diagnose. spotted by sthen
2008-06-19Add OpenBSD CVS marker, proper type for probe function.Marc Balmer
2008-06-19add ix(4) to GENERIC, enable it on i386.Reyk Floeter
ok deraadt@
2008-06-18Attach amdmsr(4) at mainbus in a way that it can be disabled in UKC or theMarc Balmer
config file, only configure the driver when we have an AMD Geode LX CPU and the graphics processor is available. mainbus part by miod, ok miod, matthieu
2008-06-17totally skip amdmsr until it is fixed for realTheo de Raadt
2008-06-15Disable amdmsr(4) until the match function _ONLY_ lets it work on Geode's,Theo de Raadt
and then, only people who buy them will end up with this insecure hell.
2008-06-15ipmi is working a wee bit better, but still not perfectly. let us re-enableTheo de Raadt
it so that more people run it by default again, and perhaps we will get insight again into what the problem is..
2008-06-15When APERTURE is not defined, always return ENXIO.Matthieu Herrb
Suggested by mk@, ok miod@ deraadt@.
2008-06-15this should be a MD include file; discussed with matthieuTheo de Raadt
2008-06-15Ensure that when using the ACPI tables the RVO field is initialized from the ↵Gordon Willem Klok
ctrl value. commit it marco@
2008-06-14Add amdmsr(4), a driver to access model specific registers on AMD CPUs.Marc Balmer
Needed for the upcoming AMD Geode LX graphics processor X11 driver. discussed with, feedback, and ok matthieu and deraadt.
2008-06-14Correctly calculate wired_count of pages on i386. Now, pmap->pm_stats is onlyHans-Joerg Hoexer
updated when we actually can commit the pte. With mickey. ok art@ weingart@
2008-06-13Detect if Intel's Safer Mode Extensions (SMX) are present,Jonathan Gray
See http://download.intel.com/technology/security/downloads/31516804.pdf for more information. ok deraadt@ 'looks ok to me' djm@
2008-06-12enable uvideo(4) video(4)Robert Nagy
2008-06-12Enable /dev/video* for all USB capable archs. MAKEDEV bits will followMarcus Glocker
shortly. OK todd@
2008-06-12Bring biomem diff back into the tree after the nfs_bio.c fix went in.Theo de Raadt
ok thib beck art
2008-06-11When reading a GPIO pin, first determine if it is programmed for inputMarc Balmer
or output and then read the value from either the GPIO[x]_READ_BACK or GPIO[x]_OUT_VAL register. This allows to read back LED (output) states as well as input states (buttons). Problem noticed by Rolf Sommerhalder, fix by me.
2008-06-11back out biomem diff since it is not right yet. Doing very largeTheo de Raadt
file copies to nfsv2 causes the system to eventually peg the console. On the console ^T indicates that the load is increasing rapidly, ddb indicates many calls to getbuf, there is some very slow nfs traffic making none (or extremely slow) progress. Eventually some machines seize up entirely.
2008-06-10Fix buffer cache pending read statistics by ensuring we can identifyBob Beck
biowait() reads that do *not* come from the buffer cache - we use the B_RAW flag to identify these at art's suggestion - since it makes sense and the flag was not being used. this just flags all these buffers with B_RAW - biodone already ignores returned buffers marked B_RAW. ok art@
2008-06-09Remove fillw(). Bonus points if you do not remember what it was used for.Miod Vallat
2008-06-09rename arc4random_bytes => arc4random_buf to match libc's nicer name;Damien Miller
ok deraadt@
2008-06-08Make sure to cnpollc(1)/cnpollc(0) around cngetc() or getsn() calls.Miod Vallat
2008-06-08alpha/conf/RAMDISKTheo de Raadt
2008-06-08Make serial console on non-primary ports work to on i386.Mark Kettenis
tested by jbg@, "it is right" deraadt@
2008-06-07add a disabled com4 device for a Fujitsu Stylistic TouchscreenRobert Nagy
ideas from deraadt@ and millert@
2008-06-07Kill ACPIVERBOSE. It was never used and is worthless to boot.Marco Peereboom
comments jmc ok toby
2008-06-05Allow pchb(4) to find additional non-coherent HyperTransport linksBrad Smith
with 10h and 11h families of AMD CPU's. ok kettenis@
2008-06-01Re-enable new parser. Lots of testing by various folks. Fits all mediaMarco Peereboom
now too. ok kettenis deraadt
2008-05-30Remove the untracked mapping before calling uvm_km_free(), otherwise theFederico G. Schwindt
code will treat it as a tracked one and panic down the road. fixes one of the crashes reported in PR/5828. miod@ ok.
2008-05-30skip ext2fs on thisTheo de Raadt
2008-05-26do not muck with the mountroot variable, since setroot() uses the state ofTheo de Raadt
it and rootdev to determine whether it is booting 'generic', 'nfs', or from a specified disk partition ok krw