summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-02-19do not do a curproc test for interrupt context, because it is plainly wrong.Theo de Raadt
this lets these work on macppc, for instance diagnosed by kettenis, but damien is not around, so ok jsg and others
2007-02-19only make this interface available to the kernel for now, discussed withaTheo de Raadt
rt and such; tested and ok miod drahn
2007-02-19ACPIVERBOSE should be off, like i386Theo de Raadt
2007-02-19stick atascsi onto ahci, which in turn attaches a scsibus. while thisDavid Gwynne
compiles, it definitely doesnt work.
2007-02-19ahci will depend on atascsi and scsiDavid Gwynne
2007-02-19precomp -> features as per ATA specJonathan Gray
ok dlg@
2007-02-19i think ata_xfers should look more like this. stash the number of the portDavid Gwynne
in the ata_port struct so a hba can find its own info for that port.
2007-02-19actually init and destroy the shared ata stuff when an atascsi instanceDavid Gwynne
is created or destroyed.
2007-02-19code to set up a global pool for allocating ata_xfers out of, and forDavid Gwynne
accessing that pool.
2007-02-19Remove unused variable lapic_timerTom Cosgrove
ok art@
2007-02-19oops, i should have tried to compile the REQUEST_SENSE handling beforeDavid Gwynne
committing it.
2007-02-19REQUEST_SENSE will say there is no sense data.David Gwynne
2007-02-19implement the start of the framework for scsi emulation of ata disksDavid Gwynne
2007-02-19as is short for atascsi, not abDavid Gwynne
2007-02-19pull in atascsi, a scsi to ata translation layer, so i can work on it inDavid Gwynne
tree. ive lost two large changes today thanks to my own stupidity which could have been avoided if they were in the tree. discussed with deraadt@ ok jsg@ grange@ an older version was ok marco@
2007-02-19add handling of skip steps for urpf-failed addresses.Pierre-Yves Ritschard
ok dharthmei@, henning@
2007-02-19minimum blocksize for ESP is 32 bit, so adjust blocksize of NULLHans-Joerg Hoexer
encryption accordingly. Makes NULL encryption useable with ESP. Noticed by Martin Hedenfalk <martin.hedenfalk at gmail.com>. ok markus@
2007-02-18Correct yo-yo shutdowns:Gordon Willem Klok
Apparently some machines don't detect a clean (i.e. software initiated) shutdown; and ignore the 'wake on AC loss' bit, meaning they wake up immediatly after being told to shutdown e.g. via shutdown -hp. So now we continue preserve the wake on AC loss behaivour, howerver if we initiate a clean shutdown we clear this bit so that it the machine does not immediately power back up again. ok kettenis@
2007-02-18Add currently unused functions for getting EDID information (max supportedGordon Willem Klok
resolution, hsync, vsync etc) from the monitor using DDC. Cleanup a whole bunch of magic, ok deraadt
2007-02-18Display the interrupt priority in dmesg, for frame buffers which registerMiod Vallat
interrupt handlers.
2007-02-18Make it more apparent these boards have (crippled version of) vga-compatibleMiod Vallat
crtc. No functional change.
2007-02-18Add bcw_phy_set_baseband_attenuation().Marcus Glocker
2007-02-18Comment corrections from Bret Lambert.Marcus Glocker
2007-02-18Add bcw_shm_write16().Marcus Glocker
2007-02-18Add support for ShanTou ST268.Jonathan Gray
Tested by Paul de Weerd.
2007-02-18regenJonathan Gray
2007-02-18another udav(4)Jonathan Gray
2007-02-18Remove #ifdef/#endif's around MBR checking code. Remove now unusedKenneth R Westerback
option DISKLABEL_I386. ok deraadt@
2007-02-18If no MBR partitions are found when spoofing a disklabel, try lookingKenneth R Westerback
for a bare FAT12/16/32 filesystem. If one is found, spoof it as 'i'. This enables iPod shuffles and other umass devices that are shipped with a bare FAT32 filesystem to be used as install media. And generally makes things easier for the user just trying to mount some media, e.g. floppies. Does not make it safe to write a disklabel or MBR on such a device! That will still obliterate the FAT filesystem. Help and suggestions from tom@ and deraadt@. Feedback and suggestions for future enhancements from espie@ mickey@ and peter@. ok tom@ deraadt@
2007-02-18In writedisklabel(), read the disklabel sector before rewriting it, toMiod Vallat
preserve the non-disklabel contents; otherwise altering your disklabel may render your machine unbootable. ok deraadt@ krw@
2007-02-18Sort routines (phy, radio).Marcus Glocker
2007-02-18Start to add radio PHY initialization routines.Marcus Glocker
Rename some radio variable names to names which doesn't confuse me everytime I have to use them.
2007-02-18Added dynamic perfect hash for opcodesJordan Hargrave
ok marco@
2007-02-18Shave off another K pre compression.Marco Peereboom
Shuffle SMALL_KERNEL functions around so that we only have a single #ifndef
2007-02-18reorder allocation of the ports resources so register manipulation can beDavid Gwynne
done earlier.
2007-02-18Turn radio (version 2050) on.Marcus Glocker
2007-02-17Add SMALL_KERNEL throught acpi to make it fit on boot media.Marco Peereboom
ok deraadt
2007-02-17fix ddb buf printing for daddr_t growth to 64bit;Michael Shalayeff
from juan hernandez gonzalez; tested by bluhm@
2007-02-17If we __HAVE_PMAP_DIRECT, handle these mappings in pmap_extract().Miod Vallat
2007-02-17In pmap_collect():Miod Vallat
- do not bother checking for pmap_kernel() and operating on it, as pmap_collect() will not be invoked for P_SYSTEM process. - preserve wired pages while purging.
2007-02-17Since a full battery can still have state BST_CHARGE ("charging"),Deanna Phillips
fullness needs to be checked first. Otherwise, full batteries are always described as "charging." ok marco
2007-02-17Bring in the AMD errata checks from amd64.Tom Cosgrove
Changes to either copy of amd64errata.c must be replicated in the other. ok deraadt@
2007-02-17Add code to check for the AMD amd64 errata, and correct them whereTom Cosgrove
possible. Taken from NetBSD. ok deraadt@
2007-02-17do not look for sblock at offset 0; pedro@ deraadt@ okMichael Shalayeff
2007-02-17Fix spelling of Cool'n'Quiet, as done on i386 some time ago. AlsoTom Cosgrove
correct PowerNow in a couple of places.
2007-02-17regenMark Kettenis
2007-02-17Add nVIDIA GeForce 7600 GT & GS. From Joerg Zinke.Mark Kettenis
2007-02-17only reset the controller if it is already enabled.David Gwynne
2007-02-17To squeeze new stuff onto onto the very full boot floppies, occasionallyTheo de Raadt
some drivers for ancient devices must die. To modify one of my favorite quotes into this particular context: The total amount of suffering per year [on a boot floppy] is beyond all decent contemplation. During the minute that it takes me to compose this sentence, [a few device drivers] are being [deleted], many others are running for their lives, whimpering with fear, others are being slowly devoured from within by rasping parasites, thousands of all kinds are dying of starvation, thirst and disease. It must be so. If there is ever a time of [sufficient space], this very fact will automatically lead to an increase in [driver] population until the natural state of starvation and misery is restored. - cribbed from Richard Dawkins "God's Utility Function", Scientific American, November 1995 Of course, these drivers remain on the CD boot media, so there is a solution for the truly desperate legacy addicts.
2007-02-17Add some additional device ids found in Linux driver.Jonathan Gray