Commit Graph

50000 Commits

Author SHA1 Message Date
chs 15982c7311 fix typo in pmap_kremove() which was invalidating the wrong TLB entry.
from Hiroki Tanikawa in PR 14099.
2001-09-29 22:00:29 +00:00
chs adb1a233b7 replace wakeup_one() with wakeup(). wakeup_one() can only be used if the
woken-up thread is guaranteed to pass the buck to the next guy before
going back to sleep, and the rest of the lockmgr() code doesn't do that.
from Bill Sommerfeld.  fixes PR 14097.
2001-09-29 21:27:49 +00:00
augustss d535feb911 Get rid of eslreh.h and use ../isa/essreg.h.
Minor whitespace fixes.
2001-09-29 19:30:29 +00:00
augustss d09eea2ace Add a missing command. 2001-09-29 19:08:49 +00:00
augustss b1d96a9b44 ANSIfy. 2001-09-29 19:06:32 +00:00
augustss f75a223c4e Add the esl driver. 2001-09-29 18:46:16 +00:00
thorpej fa591d48c0 - Add an acpi_evaluate_string() to evaluate string objects.
- In acpi_print(), try to evaluate the _STR object, and print
  it if the device is not configured.
- Make this compile without ACPI_DEBUG, from Masanori Kanaoka.
2001-09-29 18:13:48 +00:00
tsutsui 9cb10f82f8 Calculate offsets of sglist dinamically rather than use an static array
because PAGE_SIZE is not constant on some ports.
2001-09-29 14:23:37 +00:00
jdolecek 560e3c342e Use lmin() instead of min(), and long for mlen & clen, to avoid integer
overflow on LP64 architectures. This fixes kern/10070 by Juergen Weiss.

Fix tested on NetBSD/alpha by Bernd Ernesti, on NetBSD/sparc64
by David Brownlee and Eduardo Horvath.
2001-09-29 14:16:19 +00:00
augustss c018750423 Add esl driver for Eiger Labs sound card. From Jared D. McNeill
<jmcneill@invisible.yi.org>.
2001-09-29 14:00:57 +00:00
augustss 58a0f075d2 Regen. 2001-09-29 13:59:37 +00:00
augustss da8947c921 Add Eiger Labs sound card. 2001-09-29 13:59:16 +00:00
augustss 797a70e551 Add a detach function (from Jared D. McNeill). 2001-09-29 13:56:04 +00:00
jdolecek 18c0643bfb Update the uio resid counts appropriately when any error occurs
(not just EPIPE), so that the higher-level code would note partial
write has happened and DTRT if the write was interrupted due to
e.g. delivery of signal.

This fixes kern/14087 by Frank van der Linden.
Much thanks to Frank for extensive help with debugging this, and review
of the fix.

Note: EPIPE/SIGPIPE delivery behaviour was retained - they're delivered
even if the write was partially successful.
2001-09-29 13:48:11 +00:00
chris 5f0c745782 Add a couple of simplelocks to make sure we call pagealloc with the uvm_object locked. Found while running a LOCKDEBUG kernel on cats. 2001-09-29 09:39:12 +00:00
thorpej 84b2da1b5c Don't install a single system notify handler. 2001-09-29 05:39:14 +00:00
thorpej 4ce1f116cf Don't be DEBUG by default, but still be noisy about lid status
changes until such time as we actually do something with them.
2001-09-29 05:36:49 +00:00
thorpej 533c169276 Build acpi_resource.c, add "acpiec" and "acpiacad". 2001-09-29 05:36:03 +00:00
thorpej 2945805ff3 Skeleton ACPI AC Adapter driver. 2001-09-29 05:35:06 +00:00
thorpej b41a7fd4de ACPI Embedded Controller driver. 2001-09-29 05:34:23 +00:00
thorpej 6179b9baef Add code to parse ACPI bus resources. 2001-09-29 05:34:00 +00:00
thorpej 391ff9e86d Flesh out w/ some comments from the spec, and add some _ADR decoding
macros.
2001-09-29 05:33:00 +00:00
minoura 6dccdcc4cb Implement ls command.
Correct bootdev detection.
Other minor changes.
2001-09-29 03:50:12 +00:00
minoura 9f3eb31089 Make this compile with the new toolchain. 2001-09-29 03:45:13 +00:00
minoura a927531829 Exclude N/W code. 2001-09-29 03:44:04 +00:00
yamt 274a22b8c0 remove a debug printf committed mistakenly. 2001-09-29 02:16:21 +00:00
yamt da8b08386f - fix wrong ca_devsize.
- change #if 0 to meaningful name.
- enable memio.
2001-09-29 01:53:23 +00:00
yamt 4210698cd5 fix wrong ca_devsize. 2001-09-29 01:52:23 +00:00
minoura a70835b9a0 Minor KNF. 2001-09-29 01:42:26 +00:00
minoura 63906d4679 -D_STANDALONE 2001-09-29 01:42:09 +00:00
minoura 0669861353 Minor changes from news68k. 2001-09-29 01:24:30 +00:00
minoura 45300859de Forgot to include <machine/bootinfo.h> for the new symbol added in the
previous commit.
2001-09-29 01:24:01 +00:00
augustss 37583aadfc Reenable RHSC interrupt after one second so hot plugging works.
(From OpenBSD.)
2001-09-28 23:57:21 +00:00
augustss c5a4cc1291 Only clear the endpoint on stall (from FreeBSD). 2001-09-28 23:42:16 +00:00
augustss 901a3da087 Regen. 2001-09-28 23:41:33 +00:00
augustss ef7e225e59 Rename Accton adapter (from FreeBSD). 2001-09-28 23:41:09 +00:00
thorpej 5c2e2edf22 Regen; more corrections to Intel Gig-e product IDs. 2001-09-28 22:06:25 +00:00
thorpej 435e4031ad More corrections to Intel Gig-e product IDs. 2001-09-28 22:06:04 +00:00
tshiozak f32aef24fd Roland UM-880 has two modes each assigned product IDs.
UM880N (0x0014) : Native mode.
	UM880G (0x0015) : Generic USB MIDI mode.
2001-09-28 20:36:46 +00:00
tshiozak 114e12bdf1 add a new device; ROLAND/EDIROL UM-880 MIDI I/F with patcher. 2001-09-28 19:10:59 +00:00
jdolecek 8c94944fe7 sbspace(): use lmin() instead of imin() and kill now unneeded casts
Pointed out by Scott Barron in kern/13687.
2001-09-28 18:02:45 +00:00
mjacob 01e394b10d Now that we have a fixed thaw thingie- we can turn back on sleeping
on mailbox commands.
2001-09-28 16:23:19 +00:00
minoura d83cae1ca8 Primary boot for ustarfs.
Supports floppy only.
2001-09-28 15:22:21 +00:00
minoura 446e0c768b Add ustarfs support. 2001-09-28 15:20:00 +00:00
minoura b3bb79f90d Add changedisk_hook(). 2001-09-28 15:19:33 +00:00
minoura 12ea5d8238 Add changedisk_hook().
Machine-dependent code can eject the floppy to prompt the next volume in it.
(Or add another method in devsw?)
2001-09-28 15:15:24 +00:00
minoura dfde39ec68 Update authors' mail addresses. 2001-09-28 15:12:01 +00:00
minoura e6e223cd3e Message cosmetics. 2001-09-28 15:11:19 +00:00
minoura b57b9ddfa4 Create stripped version by default. 2001-09-28 15:10:39 +00:00
pk fd12ba4f30 Don't force a fixed baud rate if the parent zs driver has already determined
the baud rate set by the PROM.
2001-09-28 14:34:49 +00:00