summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-05-29Missed header file change in previous commit.Christopher Pascoe
2006-05-29Correct status value check for OHCI isoc transfer;Christopher Pascoe
the spec says that "not accessed" is 111x, not 1111. From NetBSD rev1.158
2006-05-29Only check USBD_FORCE_SHORT_XFER for writes.Christopher Pascoe
From NetBSD rev1.164
2006-05-29Only do the software part of an abort if we are dying.Christopher Pascoe
2006-05-29implement frequency setting for the beep. It also beeps for one secondJason Wright
during boot (this is annoying, I know... I'll hook it up to the keyboard handler later).
2006-05-29Only do the software part of an abort if we are dying.Christopher Pascoe
2006-05-29Check the return value of aml_ederef isnt NULL before use.Gordon Willem Klok
Fixes a few panics. ok canacar@
2006-05-29Enable sdmmc on amd64 too. ok brad@, deraadt@.Matthieu Herrb
2006-05-29minor space nitPeter Valchev
2006-05-29garbage collect NFE_NO_JUMBO.Brad Smith
2006-05-29Add ACPI Thermal zone and Embedded controller devicesCan Erkin Acar
commented out.
2006-05-29GENERICCan Erkin Acar
2006-05-29Add embedded controller support.Can Erkin Acar
ok marco@ deraadt@ testing & ok gwk@
2006-05-29Fix a memory overrun in the aml parser code.Can Erkin Acar
ok deraadt@, gwk@
2006-05-29formattingBrad Smith
2006-05-29fetch the beep clock frequency (we'll need it to compute the audio frequency ↵Jason Wright
later)
2006-05-29Make sure all physical addresses are filled in the qTD even when we haveChristopher Pascoe
a page offset. From Dan Ellis via NetBSD rev 1.103
2006-05-28Miscellaneous fixes.Kenneth R Westerback
1) Check the return value from st_mount_tape(). 2) Always call st_unmount() if the media goes missing. 3) Use the special handling for 'Unit in the process of becoming ready' for the TEST UNIT READY command in stopen(). 4) Don't unmount a tape during stopen() just because it doesn't have the current default density. Eliminate now unused last_dsty member of st_softc. tested & ok beck@
2006-05-28Make sure to honor the USBD_FORCE_SHORT_XFER flag and generate an emptyChristopher Pascoe
transfer when necessary. From Dan Ellis via NetBSD rev 1.102
2006-05-28- force the maximum receivable frame size down to 1518 bytes forBrad Smith
strict alignment architectures for the time being. - remove the m_adj() on non-strict alignment architectures as this seems to resolve the Jumbo crashing issue. tested by a few developers. ok reyk@
2006-05-28placeholder driver for the bbc,beep device. should be straightforwardJason Wright
to fill in later.
2006-05-28This commit changes the interpret_sense routine for st to catch theBob Beck
"Unit Becoming Ready" case, and just like ch, allow the driver to continue waiting, as long as the unit continues to promise us that the unit is becoming ready. This avoids the case of slow tape drives taking forever to bring media online requiring a huge retry count being set for all commands, and like ch, will wait indefinately only in this case. All other cases are handled as before. ok krw@
2006-05-28Add support for NFS mounts to be from non-reserved ports:Anil Madhavapeddy
- new sysctl vfs.nfs.privport to require NFS mount requests to be on reserved ports when set to 1 (the default). - mountd now automatically sets the sysctl depending on the -n flag. - add mountd_flags to rc.conf to enable the -n flag at boot. deraadt@ ok
2006-05-28In the absence of a coherent concept of 'RAW' tape devices, pass allKenneth R Westerback
unhandled ioctl requests to scsi_do_ioctl() like ch.c does. Previously only the mythical 'control devices' with certain minor numbers would pass the requests along. ok beck@
2006-05-28Whack a 'control device' leftover. Actually save the new density, etc.Kenneth R Westerback
that was just accepted by the device, no matter what the minor is. ok beck@
2006-05-28minor nit, use CPU ID instead of FPU ID for BTLB parameters after passingMartin Reindl
all kludges
2006-05-28make sure the IMR values are visible when we drop back into the promJason Wright
2006-05-28oops, nuke debugging stuffJason Wright
2006-05-28- Implement schizo_intr_map (mainly to | in the agentid).Jason Wright
- get correct IGN for intr_establish all of this is from kettenis and henric, I'm just cleaning it up and committing the easy bits
2006-05-28Remove obvious EST table dupe: Pentium M 733 and Pentium M 773 (VID #H),Dimitry Andric
and zap trailing spaces. No functional change.
2006-05-28junk to read and write configuration pages.David Gwynne
2006-05-28We don't have 'control devices' for st. Nor are we likely to get anyKenneth R Westerback
in the foreseeable future. Eliminate half-baked, semi-operational code that tried to handle such devices. People who had stumbled across the previous control-like behaviour of erstX devices should not be relying on these semantics. Suggested by deraadt@. ok beck@
2006-05-28back out my last commit. art pointed out that sysctl cannot sleep whenDavid Gwynne
copying out to userland, so my fix was useless bloat that didnt really do anything. the problem instead appears to be a use after free in a driver rather than bad interactions with sysctl.
2006-05-28ST_NEW_MOUNT was set/reset in a number of places but only examined insideKenneth R Westerback
a #if notyet/#endif block. It's been 'notyet' since 1995. Eliminate it. 'flense!' beck@
2006-05-28Can't call directly back into the prom if we "exit" at the rootJason Wright
device prompt. We need to call shutdownhooks which will set the sab back into the mode the prom likes (I hate this chip)
2006-05-28Change the timedelta sensor descritpion so that the first four bytes containMarc Balmer
the NTP identifier (filled with spaces), followed by a space and the station name (which might be the same as the NTP identifier). All timedelta sensor have to follow this scheme as OpenNTPD needs it. Requested by henning.
2006-05-28don't #undef SDMMC_DEBUGUwe Stuehler
2006-05-28- if the "upa-portid" property doesn't exist, try "portid" (schizo)Jason Wright
- hack enough of autoconf to get psycho and schizo working with device_register (autoconf appears to work now for schizo machines).
2006-05-28sync, enable and move twe(4) out from untested on alphaMartin Reindl
2006-05-28Fix open(2) semantics for ch(4) to not be completely on fresh minty crack:Bob Beck
1) Don't use SCSI_IGNORE_NOT_READY when doing test_unit ready to wait for the device to come up. 2) use SCSI_IGNORE_ILLEGAL_REQUEST when doing test_unit_ready to wait for the device to come up (just as is done in st(4)) 3) add a ch_interpret_sense routing to perform special handling of the case where the unit is in the process of becoming ready. Hope springs eternal, that if the device tells us it is trying to become ready, then we should wait for it to do so, however long it takes (and on tape library scans this can take a while - i.e. a few minutes for large libraries). The custom handler ensures that the retry count is not decremented in this case and this case only. ok krw@
2006-05-28Support for standard SD host controllers like the Ricoh 5C822, a smallUwe Stuehler
generic bus layer, and SCSI emulation for SD/MMC memory cards.
2006-05-28Add PCATCH to tsleep flags when a scsi command is waiting for an openingBob Beck
or is waiting to be retried, abort it when a signal interrupts the tsleep(). This fixes what was commited in version 1.92 to work properly. ok krw@
2006-05-28make the ISR bits visible so we can poll them in cngetc (w/out cnpollc).Jason Wright
I still hate this chip.
2006-05-28Allow len == 1 in systrace_fname(), so systraced processes can proceedPedro Martelletto
their *stat() calls, for example, and get ENOENT, which is expected for "", instead of a forced EINVAL. Fixes the spurious 'rm: : Invalid argument' warnings when building with option USE_SYSTRACE, reported on ports@. Okay provos@ sturm@ deraadt@
2006-05-28Actually remove the device id from events.Michael Knudsen
2006-05-28unbrek tree by syncing protoypes to hotplug.cHenning Brauer
2006-05-28remove the dev/isa/isavar.h include, as it is not neededFelix Kronlage
ok miod@, martin@
2006-05-28remove sc_ic member from struct com_softc as it is not used anywhereFelix Kronlage
ok miod@, martin@
2006-05-28Remove device id from hotplug events.Michael Knudsen
ok henning
2006-05-28do not print "root on ..." twice for the -a case, also cope with systemsTheo de Raadt
configured for 'root on nfs'