summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-02-21Long awaiting modernization:Miod Vallat
- reset the drive and fetch its identification strings during probe, and do not attach if they don't look good. - do not store synchronous command blocks (used by hdreset) in the softc, since they are not processed asynchronously. The stack will do. - cleanup the disklabel retrieval code. - use disk_{,un}lock instead of rolling our own equivalent. - use bounds_check_with_label() in hdstrategy() instead of a stripped-down inline version of it. Tested on 7957A.
2007-02-21Fix stuttering audio playback as reported by Igor Grabin.Marco Peereboom
Tested by several folks and ok canacar
2007-02-21part missed in PAE revert: ptoa() paddr_t size is no longer printedTheo de Raadt
with %llu; ok miod
2007-02-21Don't use arbitrary 128 bytes as size of the blf key array if we know exactlyAlexander von Gernler
how much blowfish takes at max, which is 72 bytes. Also define a constant for this in the include file, suggested by ray@. ok pedro@ thib@ tedu@
2007-02-21Make an acpi-enabled GENERIC.MP work on systems that only support PIC mode.Mark Kettenis
ok marco@
2007-02-21Make the firmware load on big endian systems and while there make sure thatClaudio Jeker
the right value is printed in case of an error. OK mglocker@
2007-02-21For TUNSIFMODE protect the if_flags similar to the TUNSIFINFO case.Claudio Jeker
Don't allow the userland to fiddle with flags reserved by the driver. Noticed by Ingo Schwarze.
2007-02-21syncTheo de Raadt
2007-02-21put structs after copyright notice; ok dlgTheo de Raadt
2007-02-21hand-cruft an isprint() for deciding which characters to echo to theTheo de Raadt
console; ignore all others. based on idea by didickman@gmail.com, ok tom
2007-02-21regen for inclusion of the structs used in pcidevs_data.hDavid Gwynne
2007-02-21put the structs defining the content of pcidevs_data.h into that headerDavid Gwynne
file, rather than in pci_subr.c before theyre used. this allows the header to be used elsewhere without needing to copy a chunk out of pci_subr.c. ok miod@ deraadt@
2007-02-21remove part of buf abuse and store errcnt in softc (instead of b_errcnt); ↵Michael Shalayeff
more work can be done to lower buf abuse even more; miod@ testing and ok
2007-02-21let the Globetrotter 3G+ attach to ubsa, from Victor Meghesan through bugs@Felix Kronlage
2007-02-21regenFelix Kronlage
2007-02-21usb device id for Globetrotter 3G+ from Victor Meghesan through bugs@Felix Kronlage
2007-02-21Fix a few memory leaks.Marco Peereboom
ok jordan@
2007-02-21KNFMarco Peereboom
2007-02-21Some Sony VAIOs use the wrong eventing type. Work around that by honering it.Marco Peereboom
Found by giovanni <qgiovanni @ gmail . com> ok jordan
2007-02-21Fixed deref for storing to local after CondRef opJordan Hargrave
ok marco@
2007-02-21Don't unconditionally spin up SDEV_UMASS devices. They almostKenneth R Westerback
certainly don't need it, or are capable of reporting themselves in need of a spin up. Feedback from various agreeing it is unlikely such devices exist. Fixes devices found by Markus Bergkvist and Johan M:son Lindman. ok dlg@
2007-02-20It helps to enable hpet... This fixes bnx not working on amd64.Marco Peereboom
2007-02-20rename ccb_id to ccb_slot so its more clear what its used for. stash aDavid Gwynne
pointer to the port and the ata_xfer in there too.
2007-02-20oops, missed one in the cmd list entryDavid Gwynne
2007-02-20KNF while here.Marco Peereboom
2007-02-20fill some macros for ahci structures. fix a spello while there.David Gwynne
2007-02-20KNF while in here.Marco Peereboom
2007-02-20Fix a memory leak in acx_load_radio_firmware() -- free the ucode after use.Claudio Jeker
OK mglocker@
2007-02-20~1052 lines of new PHY radio initialization code and no end in sight.Marcus Glocker
2007-02-20Revert PAE pmap for now, until the strange bug is found. This stopsTom Cosgrove
the freezes many of us are seeing (especially on amd64 machines running OpenBSD/i386). Much testing by nick@ (as always - thanks!), hugh@, ian@, kettenis@ and Sam Smith (s (at) msmith (dot) net). Requested by, input from, and ok deraadt@ ok art@, kettenis@, miod@
2007-02-20Remove duplicate entry.Tom Cosgrove
ok miod@
2007-02-20Fix the bpf hook in etherip_input() by using the right address family andClaudio Jeker
moving the m_adj() down to prevent so that the ethernet header is preserved. This fixes tcpdump on bridged gif(4) interfaces. OK mglocker@
2007-02-20for vfsconf sysctl, do not leak kernel sensors out to userlandTheo de Raadt
ok art thib
2007-02-20for sensors do not leak kernel pointers when copying out to userland;Theo de Raadt
spotted by art, ok dlg art
2007-02-20No use checking malloc return when called with M_WAITOK.Thordur I. Bjornsson
ok dlg@, tested by jolan@
2007-02-20Move AML_OBJDEBUG into ACPI_DEBUG.Marco Peereboom
KNF while in here too.
2007-02-20Put ral* at pci? onto the install media. Noted by Sunnz (sunnzy (at)Tom Cosgrove
gmail (dot) com) and Stuart Henderson (stu (at) spacehopper (dot) org) on misc@. ok deraadt@
2007-02-19Added acpi_map_address function for mapping GAS/IO registersJordan Hargrave
ok marco@
2007-02-19Put warning about shared IPL interrupts under MPVERBOSE and don't talk aboutMark Kettenis
degraded performance. requested by deraadt@
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.