summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-05-29implement reliable microtime on smp (joint work w/ otto):Michael Shalayeff
send a bcast ipi from the cpu0 to all others to timestamp tsc on every clock intr. this way using local tsc provides accurate microtime() measurements. thus gettimeofday test passes now. otto@ deraadt@ ok
2006-05-29Nuke unused local variable (ok beck deraadt) and unused structMichael Knudsen
bio_softc declaration (ok and testing dlg).
2006-05-29NVIDIA nForce MCP04 (some kind of nForce4) AC97 should work hereJonathan Gray
as well going by the Linux driver. "fine by me" jason@
2006-05-29put the 64bit flag in the right place on the scatter gather list.David Gwynne
2006-05-29split mpi_poll out into mpi_complete, and rewrite poll to use start andDavid Gwynne
complete to do its job. enforce the use of a timeout on polled commands and make the callers check if the timeout happened.
2006-05-29allow ints for older asp; found on 710 @session; tested on 710, 715/33 ↵Michael Shalayeff
(miod), 735/125 (graham gower)
2006-05-29remove some if 0 codeDavid Gwynne
2006-05-29bump mpi up to using 64bit for all dvaDavid Gwynne
2006-05-29Only claim an interrupt if a real interrupt event occured, prevents falseDale Rahn
counts on shared interrupts. Flush the tx data buffer before handing the buffer over to the hardware, fixes tx on arm. ok pval@ looked at by jsg@
2006-05-29Fix a comment, remove a stray variable assignment.Christopher Pascoe
2006-05-29Eliminate variable shadowing.Christopher Pascoe
From NetBSD r1.104
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