Commit Graph

80489 Commits

Author SHA1 Message Date
bouyer aab0004b68 Add support for ACPI in xen-3 dom0 support. We can now boot a xen-3 dom0
kernel with a default xen comamnd line.
2006-04-09 19:28:00 +00:00
bouyer 5086e476d2 #if out read_frontend_details() for now, so that it compiles with DOM0OPS. 2006-04-09 19:25:50 +00:00
christos eb8f5ea98d Coverity CID 1090: Only check suser if we have a process context. 2006-04-09 18:33:43 +00:00
tsutsui 106e914ccd Replace some magic numbers with macro. 2006-04-09 01:24:05 +00:00
tsutsui 1fc83a9af6 Remove declaration for cpu_model[] since it's in <sys/systm.h>. 2006-04-09 01:20:06 +00:00
tsutsui 9c7179ce5d Remove declarations for cpu_model[] since it's in <sys/systm.h>. 2006-04-09 01:18:14 +00:00
riz 2d877b926c Add NetBSD RCSIDs 2006-04-08 23:41:46 +00:00
uwe 8398f3ff65 Whitespace nit. 2006-04-08 22:33:36 +00:00
christos 4b5dc3b5a8 - wrap memspace {}, pointed out by rui.
- comment out the memspace none case, pointed out by rui.
- move declarations to the top to avoid brace mess.
2006-04-08 20:55:22 +00:00
christos c2909c51dd Split the tuple parsing code in its own function for each kind, instead of
having a single parsing function that has more than 1000 lines of code.
2006-04-08 20:01:21 +00:00
peter 75b167e81d Bump build number as requested by Uwe. 2006-04-08 16:27:25 +00:00
rpaulo abddbf01be Back out rev 1.42 and 1.43. It's been causing much more hassle than it should
and I don't feel like continue arguing about it.
2006-04-08 15:59:59 +00:00
peter f75a258915 The altgr button has number 184, not 219. Change the jornada 720
key translation tables to use the correct number.

Patch for the US/UK model has been tested by Alex Poylisher & Mark Kirby.
2006-04-08 15:03:19 +00:00
cherry 1163d9a877 Copyright audit and CVS header sweep. 2006-04-08 14:52:09 +00:00
tsutsui ce53cc60f2 Enable some more options and devices:
http://mail-index.netbsd.org/port-cobalt/2006/04/06/0000.html

Tested by several people on port-cobalt.
2006-04-08 12:41:11 +00:00
peter 2201fcf579 Recompile. 2006-04-08 12:26:55 +00:00
rpaulo 58e5792e6a IFHEAD and PREPADDR are mutually exclusive. From FreeBSD. 2006-04-08 12:14:42 +00:00
perseant 39ce23c169 Implement a somewhat finer-grained mechanism for paging LFS-backed pages.
The writer daemon, if it does not need to flush the whole filesystem,
now only writes the vnodes for which the pagedaemon has requested pageouts
(although it does not pay attention to the page ranges the pagedaemon
supplies).
2006-04-08 00:26:34 +00:00
perseant ff84dd347a Keep the free list ordered. This solves a problem first pointed out to me
by Michel Oey, in which an aged LFS writes up to an extra Ifile block for
every file created; and paves the way for the truncation of the Ifile when
many files are deleted.
2006-04-08 00:16:56 +00:00
perseant 7c22dcc8a6 Several minor bug fixes:
* Correct (weak) segment lock assertions in lfs_fragextend and lfs_putpages.
* Keep IN_MODIFIED set if we run out of avail in lfs_putpages.
* Don't try to (re)write buffers on a VBLK vnode; fixes a panic I found
  while running with an LFS root.
* Raise priority of LFCNSEGWAIT to PVFS; PUSER is way too low for
  something the pagedaemon is relying on.
2006-04-07 23:59:28 +00:00
perseant d28248e84e Make the segment lock aware of LWPs. Fixes a (somewhat confusing)
"lockmgr: pid 3997, not exclusive lockholder 3997, unlocking" panic I
encountered while running blogbench on an LFS.
2006-04-07 23:44:14 +00:00
uwe 712aacb6d4 Add missing $ sign at the end of the NetBSD rcsid tag. 2006-04-07 20:03:52 +00:00
mrg 0db1500b43 retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4. 2006-04-07 19:38:58 +00:00
riz 26b33f2587 Regen. 2006-04-07 18:56:37 +00:00
tsutsui 98544ead5e Add include "dev/usb/files.usb". 2006-04-07 18:55:58 +00:00
riz 637bfc29f9 Dallas Semiconductor 1-Wire bus support, from OpenBSD. Currently includes
gpioow(4), attaching a bit-banging driver via a GPIO pin.  Also,
owtemp(4) which supports some of the 1-Wire temperature sensors, including
the DS18b20 and DS1920 - temperatures are returned via the envsys(4)
framework.

Original drivers by Alexander Yurchenko (grange@openbsd), with envsys(4)
support and a fix to the 1-wire search algorithm (for discovering
devices on the bus) by me.

As discussed on tech-kern earlier this week.
2006-04-07 18:55:21 +00:00
cherry 7056f5194b Initial import of arch/ia64 sources.
These sources are ported from FreeBSD/ia64 code.
See individual source files for credits.
In addition, code from NetBSD/alpha NetBSD/sparc64,
NetBSD/i386 and NetBSD/amd64 were used as templates,
along with my own additions.
2006-04-07 16:23:08 +00:00
drochner 3d2bb104a8 don't include opt_wsdisplay_border.h here, to limit dependencies 2006-04-07 14:30:20 +00:00
cherry 39ba8074f1 Fixed CVS version headers 2006-04-07 14:27:33 +00:00
cherry ba7cbe760f Initial import of arch/ia64 sources.
These sources are ported from FreeBSD/ia64 code.
See individual source files for credits.
In addition, code from NetBSD/alpha NetBSD/sparc64,
NetBSD/i386 and NetBSD/amd64 were used as templates,
along with my own additions.
2006-04-07 13:57:43 +00:00
cube 7db196715b Protect config(1)-generated include files inclusion with
#ifdef _KERNEL_OPT.  ACPI-CA might be used by standalone code in the
future.  Suggested by cherry@.
2006-04-07 13:49:20 +00:00
drochner 2f9ef14bcf make this compile w/o KTRACE,
resolves PR kern/33212 by KIYOHARA Takashi
2006-04-07 09:23:16 +00:00
gdamore 1afeab4d6d Add unified AR531X_REVISION_WMAC. 2006-04-07 04:58:31 +00:00
gdamore e1c0ebdcf7 Use PCI vendor ID for Atheros. 2006-04-07 04:57:05 +00:00
gdamore c985773db1 Remove rtc, as we don't have one. 2006-04-07 04:56:00 +00:00
gdamore e6f1df1eba Fix to allow macppc to crossbuild when host is not NetBSD.
Fixes PR macppc 33196.  Reviewed by macallan@
2006-04-07 02:34:55 +00:00
gdamore 98bfdf941a Add common videomode include. As requested by macallan@. 2006-04-07 01:39:13 +00:00
rpaulo 2fdcdded0b Add misssing }. Sorry for breaking the build. 2006-04-06 22:35:47 +00:00
bjh21 147be7c1d5 Fix a couple of typos. 2006-04-06 21:39:16 +00:00
bjh21 5d0813e0c9 Use more manifest constants. 2006-04-06 20:41:38 +00:00
rpaulo e59b73f458 On ns_err_input(), if the message type is TOO_BIG, we should call spp
or idp control input routines, not drop it.
Should fix CID 742.
2006-04-06 18:46:32 +00:00
rpaulo ed268c60d0 In pcmcia_parse_cis_tuple(), refactor the memspace section introducing
a switch statement and fixing CID 566.
2006-04-06 18:06:43 +00:00
thorpej 086b31316b A couple of fixes from dbj@:
- dkwedge_del(): Don't compute a minor number based on partitions, because
  wedges don't have partitions.  Just provide the unit number to vdevgone().
- dkopen(): Make sure we release all of the locks we've acquired should
  opening the parent device fail.
2006-04-06 17:55:43 +00:00
he 7d6535cfe2 Since this port has its own db_interface.c, we need to declare ddb_regs
here as well, after it moved out of db_machdep.h.
2006-04-06 17:29:49 +00:00
thorpej 7e075c58fe Implement dksize(). 2006-04-06 17:17:45 +00:00
gdamore 1d7621eed4 Undo an accidental commit of ah.h from an unreleased version of the HAL. 2006-04-06 15:57:58 +00:00
drochner 9242c10539 in sysinfo(), force NUL termination of truncated
strings if the buffer was too small, as OSF1 does
2006-04-06 15:45:20 +00:00
drochner 41a5bdfbb9 kill NULL initialisation of get/setborder 2006-04-06 12:22:05 +00:00
tsutsui bc4a0707e8 Use bus_space_map(9) to get bus_space_handle_t on each driver
and remove bogus bus_space_handle_t member from mainbus_attach_args.
2006-04-06 11:50:19 +00:00
cherry c988ba8700 Pass by reference to MD_LOADSEG(). Thanks to Matt Thomas for pointing this out. 2006-04-06 09:25:58 +00:00