Commit Graph

126495 Commits

Author SHA1 Message Date
dbj
b082781025 fix parenthesis in fixsb. oops 2004-04-24 20:54:26 +00:00
dbj
c8025f6a1e ensure that sblk is 64bit aligned, fix suggested by dsl 2004-04-24 20:51:30 +00:00
dbj
4b198427c0 fix pread return check in fixsb. caught by dsl 2004-04-24 20:48:57 +00:00
dbj
41c60f0331 fixsb script for sysinst
addresses pr install/25138
2004-04-24 20:42:39 +00:00
cl
8e6ccbacfb Allow the block device driver to impersonate wd/sd/cd devices. This allows
for most system seamless migration from a NetBSD/i386 setup to a NetBSD/xen
setup without changing /etc/fstab or creating additional device nodes.
2004-04-24 20:05:49 +00:00
matt
41478e7f33 Always include <sys/param.h> first! 2004-04-24 19:59:19 +00:00
cl
122ad5af2a Make bus_space map machine addresses instead of physical addresses. 2004-04-24 19:43:53 +00:00
cl
6d328d297e Let event_set_handler set the void * argument to event handlers. 2004-04-24 19:32:37 +00:00
cl
fb658556ac Make bus_space map machine addresses instead of physical addresses. 2004-04-24 19:18:01 +00:00
cl
4c5f9e53a1 Make kernel command line parsing support additional keywords without
having to change existing code which calls the parser.
2004-04-24 18:55:02 +00:00
cl
fb65e916fb Consistently use xencons for eveything reffering to Xen's virtual console.
rename arch/xen/xen/console.c -> arch/xen/xen/xencons.c
2004-04-24 18:24:14 +00:00
cl
d843f649c6 Add ``hypervisor at mainbus'' and attach all devices provided by the
hypervisor to it instead of mainbus.
2004-04-24 17:45:38 +00:00
cl
ef3c59b551 add __KERNEL_RCSID 2004-04-24 17:41:49 +00:00
cl
edf6d721c7 Add ``hypervisor at mainbus'' and attach all devices provided by the
hypervisor to it instead of mainbus.

rename arch/xen/i386/hypervisor.c -> arch/xen/i386/hypervisor_machdep.c
2004-04-24 17:35:27 +00:00
cl
2b115ed1d8 Catch up with recent src/sys/dev/dksubr.c change (1.11 -> 1.12) which
prevents us from processing multiple bufs during 1 *start call.  We now
rely on dk_start calling us repeatedly as long as there are bufs on the
queue.
2004-04-24 16:47:29 +00:00
kleink
0e5d242328 Update for new pci_devinfo(9) signature. 2004-04-24 15:49:00 +00:00
matt
d4793b28a9 Add a compat definition of __packed. 2004-04-24 15:46:24 +00:00
uwe
33c262357e Adapt to pci_devinfo signature change. 2004-04-24 15:09:54 +00:00
kleink
9ef6a94e02 Update for new pci_devinfo(3) signature. 2004-04-24 13:41:51 +00:00
minoura
d75fa2749f Move misplaced debug code.
This should make it compile w/o pcppi and w/ CLOCKDEBUG.
2004-04-24 13:38:36 +00:00
kleink
b78e1efd3c Bump libpci major to 1(.0). 2004-04-24 09:59:01 +00:00
kleink
37fa02ea0d Bump to 1.0: incompatible pci_devinfo() argument change. 2004-04-24 09:57:13 +00:00
kleink
7407d114f9 Catch up with the kernel: new buffer length argument to pci_devinfo(). 2004-04-24 09:56:36 +00:00
kleink
9bfa4ce964 Describe new len argument to pci_devinfo(9). 2004-04-24 09:52:59 +00:00
kleink
152857d5f8 2.0E: new pci_devinfo() argument. 2004-04-24 09:51:06 +00:00
pk
95149aa7b9 Some older devices do not understand the `disable block descriptor' bit in
the mode sense request. So fall back on mode sense data including a block
descriptor section.

See also sd.c rev. 1.214.  Again: should we bother trying DBD at all?
2004-04-24 09:26:14 +00:00
yamt
4a3c33632a EcGpeHandler: in the case that the ec is EcLock'ed, always set
EC_F_PENDQUERY flag so that AcpiClearGpe() will be called later.
2004-04-24 09:07:50 +00:00
atatat
d731ba57d2 The second "console_device" node should really be called "booted_device". 2004-04-24 04:56:59 +00:00
mrg
b358d09aa4 - -DXFREE86 if we build an XFree86 server.
- use /dev/urandom & hexdump to generate cookies.

mostly as-is from PR#25239.

XXX  the #ifdef XFREE86 line in xinit.c is simply for an error message to
XXX  include the text "XFree86     XFree86 displays" in an array of char *,
XXX  that is used to display an error message.  i think nearly all the
XXX  netbsd servers need to optionally be added to this list....
2004-04-24 03:42:07 +00:00
christos
70229c52ba constify printcapdb 2004-04-24 02:59:19 +00:00
christos
ecd199b9f5 deal in a saner way with const strings. 2004-04-23 22:24:34 +00:00
christos
195f245afe constify, warns = 3 2004-04-23 22:14:57 +00:00
christos
4f6045fcb4 constify and warns = 3 2004-04-23 22:11:44 +00:00
itojun
93cf32770f use bounded string ops 2004-04-23 21:52:17 +00:00
christos
e2c2ba101a add WARNS=3 2004-04-23 21:39:43 +00:00
christos
5cb9041b96 const, knf, WARNS=3 2004-04-23 21:39:33 +00:00
itojun
db9226c772 use bounded string ops 2004-04-23 21:29:16 +00:00
itojun
6123043789 pass string length (= boundary info) to pci_devinfo so that we do not run over
the end of memory region
2004-04-23 21:13:05 +00:00
christos
ce26902593 add const to cgetent arg. 2004-04-23 21:04:25 +00:00
itojun
804f709531 use safer string manipulation function 2004-04-23 21:01:02 +00:00
snj
8db2495eca recommented -> recommended, indefinitly -> indefinitely. 2004-04-23 20:17:13 +00:00
jmc
d01e0e4fa1 Typo police 2004-04-23 19:44:47 +00:00
christos
f0f6798596 sprinkle const. 2004-04-23 17:54:02 +00:00
itojun
300aa0dcd5 use bounded string ops (snprintf, strl*) 2004-04-23 17:25:25 +00:00
matt
6882f9234e #include <sys/cdefs.h> to get the definition of __packed.
(Some files which include this file may not have done that.)
2004-04-23 16:26:18 +00:00
joda
7b46861a55 fix obvious past-o where the activity led register gets overwritten by
the traffic meter led register
2004-04-23 16:03:33 +00:00
christos
dea77b1806 sprinkle const 2004-04-23 15:23:26 +00:00
christos
9be64e49b4 be more specific about what to cleanup. 2004-04-23 15:07:31 +00:00
christos
dc84240d2e PR/15897: Ryo HAYASAKA: fdformat does not know about terminal width.
also:
	constify, ansify, pass lint.
2004-04-23 15:04:27 +00:00
wiz
af1b524517 Bump date for previous. 2004-04-23 14:52:42 +00:00