summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-11-25Give the CarBus side of CardBus-PCI bridges a bus number, since OpenFirmwareMark Kettenis
doesn't do it for us.
2007-11-25Make msk(4) detachable.Mark Kettenis
"can't be wrong" deraadt@
2007-11-24First step towards PCI Express/ExpressCard hotplug. Unplug should work onMark Kettenis
detachable drivers. "put it in" deraadt@
2007-11-24make ALTENTRY() use _C_LABEL() for the 2nd argument, and adjust callersTheo de Raadt
ok miod
2007-11-24SCCS junk, bit by bitTheo de Raadt
2007-11-24junk RCSTheo de Raadt
2007-11-24junk SCCSTheo de Raadt
2007-11-24more junk SCCSTheo de Raadt
2007-11-24Recognize the wait r5k instruction in ddb and use it in cpu_idle_cycle.Miod Vallat
ok jsing@ a while ago (and this diff is much much older)
2007-11-24junk SCCSTheo de Raadt
2007-11-24delete unused junk RCS idsTheo de Raadt
2007-11-24ansi CTheo de Raadt
2007-11-24The Sigmatel codec id 7662 looks identical to STAC7661 and works fine withDeanna Phillips
the code here. Tested by Rob Lytle, thanks.
2007-11-24we dont need ot include sys/lock.h hereDavid Gwynne
ok miod@ krw@
2007-11-24Fix a stupid underscore bug in memory area computations in the cache functions,Miod Vallat
it's amazing things didn't break.
2007-11-24typoMiod Vallat
2007-11-24Some macppc models (e.g. the 1.5 GHz G4 MacMini) have a large clock driftMarc Balmer
which is due to the timecounter running at a different frequency than what OpenFirmware tells us. On such machines, measure the actual timecounter frequency (triggered by a table of affected models) and use this measured value instead. This brings down the drift to values where adjtime()/adjfreq() triggered by ntpd(8) can tame the clock. feedback many, ok miod, kettenis
2007-11-24Be sure to program the busswitch interrupt selection register on 197SPMiod Vallat
and 197DP to route interrupts to the processor we're booting on. This allows a 197DP to run when booting from the second cpu.
2007-11-24some spelling fixes from Martynas VenckusJason McIntyre
2007-11-24Try a forced unmount if mount_mfs is killed with SIGKILL.Marco Pfatschbacher
OK tedu@
2007-11-24enable PCIAGP on amd64, tested for some time now by various peopleReyk Floeter
ok tedu@ oga@
2007-11-24Do not mark any page as global on monoprocessor kernels if running on aMiod Vallat
88110, to avoid snooping notification bus cycles, as recommended by the manual.
2007-11-24Slightly faster cache flushing operations on MP systems.Miod Vallat
2007-11-24Allow for any baud rate within a range rather thanJonathan Gray
having a fixed list of rates.
2007-11-23Don't do anything in the shutdownhook if the registers aren't mapped.Mark Kettenis
ok deraadt@, fgsch@
2007-11-23ukbd_rawrepeat only there if WSDISPLAY_COMPAT_RAWKBDTheo de Raadt
2007-11-23Check for invalid dev indices, which could get here through ioctl.Deanna Phillips
2007-11-23If the card has gone away, return imediately from the interrupt handler.Mark Kettenis
ok dlg@
2007-11-23starting bits to implement hotplug of sili controllers. this adds the codeDavid Gwynne
to clean up the atascsi stuff, and has sili call it when its going away. tested on an expresscard sili variant by kettenis@
2007-11-23Since the devices that we detach may have children we cannot rely on theMark Kettenis
"previous" device still being there, so if we detach a device, we really have to start from scratch again (like the comment on this code actually says we should). Simplifies the code as a bonus. ok dlg@, deraadt@
2007-11-23feng shuiDavid Gwynne
2007-11-23Don't use uninitialized variables in umbg_detach.Marc Balmer
2007-11-23Make sure that variables used during detach are initialized during attach.Marc Balmer
Discussed with dlg.
2007-11-23use copyin and copyout to get the actual ata data in and out of the kernelDavid Gwynne
for the ata ioctl used by atactl. i dont know how this worked before.
2007-11-23Sanitize the use of timeouts:Marc Balmer
Instead of calling timeout_set(..., NULL, NULL) in attach routines and later timeout_del(...) timeout_set(..., func, arg) timeout_add(..., time) set the function and argument in the initial timeout_set() call and only use timeout_add(..., time) later. ok dlg, fgsch, krw, winiger
2007-11-23implement translation of the scsi vpd page for fetching a disks serialDavid Gwynne
number. lets bioctl against an atascsi disk see the serial number. continually requested by henning@
2007-11-23if we cant fetch the serial then fill it with "(unknown)".David Gwynne
2007-11-23kprintf -> printf, unbreaks USB_DEBUGMarc Winiger
"of course" deraadt@
2007-11-23t10 has a whole spec on doing SCSI to ATA translation called SAT. i wishDavid Gwynne
id known about it when i wrote atascsi. anyway. it says we should claim SPC-3 when we fake INQUIRY.
2007-11-23Degrade sensor status in an interrupt context.Marc Balmer
2007-11-23No need for process context to degrade the sensor status.Marc Balmer
Discussed with kettenis.
2007-11-23move nmea stuff to same place other line discs goTheo de Raadt
2007-11-22Split the cmmu code routines into single 88110 (MVME197LE) and 88110+88410Miod Vallat
combos (MVME197SP/DP), and implement supposedly smarter cache routines. There is still room for improvement, however, cache flush operation errata permissing. Tested on 197LE and 197DP.
2007-11-22Introduce an inline function to skip an instruction on 88110 and use itMiod Vallat
whenever necessary, instead of duplicating the same code 10+ times.
2007-11-22A decent workaround for errata #16. I have verified it gets triggered, theMiod Vallat
hard way.
2007-11-22Do not reenable interrupts for netsted interrupts if interrupts wereMiod Vallat
previously disabled on 88110, similar to a recent 88100 fix.
2007-11-22Do not bother saving the fault address registers if the fault statusMiod Vallat
registers are empty, to speed up a bit non-fault traps.
2007-11-22Do not redirect exception occuring when enabling the fpu to the error handler,Miod Vallat
for we are supposed to be able to recover from them.
2007-11-22Do not save a copy of the previous exception frame in a fixed memory location.Miod Vallat
2007-11-22disable i386 ipmi as well, because marco has an acpi interaction bug to fix ↵Theo de Raadt
still