Commit Graph

145679 Commits

Author SHA1 Message Date
rpaulo
a758ab2541 Explain IFHEAD ioctls. They also disable SLMODE and they SLMODE disables
IFHEAD.
From FreeBSD.
2006-04-08 12:16:55 +00:00
rpaulo
58e5792e6a IFHEAD and PREPADDR are mutually exclusive. From FreeBSD. 2006-04-08 12:14:42 +00:00
yamt
3dc055fb76 s/non-graphic/non-printable/ to match with the code. 2006-04-08 12:04:22 +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
b657491b28 Add entry for onewire(4), gpioow(4), and owtemp(4), and add myself
as RESPONSIBLE.
2006-04-07 19:03:00 +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
macallan
5b93dbb4b1 avoid using vgahw and int10 on macppc, sparc and sparc64 since we never use
VGA textmode on this hardware.
Fixes errors like this:
xf86MapVidMem: could not mmap screen [s=20000,a=a0000] (Invalid argument)
2006-04-07 17:52:55 +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
gdamore
232fbf8220 OMSAL-400 and MTX-1 should only be built little endian. 2006-04-07 15:26:59 +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
9a7f5fbd60 cdk is obsolete 2006-04-07 12:40:10 +00:00
yamt
88cde7b8a8 prefix local labels with ".L". 2006-04-07 12:07:55 +00:00
rpaulo
706d49d37b postfix 2.2.10 2006-04-07 11:27:04 +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
f212995691 Remove AR531X. Its too soon for this to be released, IMO. We may need
to change this kernel to AP30 and add other configs for AP43, AP51, etc.
2006-04-07 05:08:04 +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
e75b544db0 resolve conflicts 2006-04-06 23:07:16 +00:00
rpaulo
53d18fe356 Postfix 2.2.10. 2006-04-06 22:55:43 +00:00
rpaulo
2fdcdded0b Add misssing }. Sorry for breaking the build. 2006-04-06 22:35:47 +00:00
uwe
dff51916a7 Spell "baud" correctly. 2006-04-06 22:31:11 +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
groo
bfdee53d40 Grammar nit. Never mind that it's still not true. 2006-04-06 19:47:23 +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
32f6ca81fb snprintf returns int, not size_t. CID 691.
From bjh21.
2006-04-06 18:30:31 +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
he
1b9747a00f Fix an overlooked addition of an empty md_post_extract(). 2006-04-06 17:18:11 +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
tsutsui
a149bb200b Create /dev/panel0 on target all_md. 2006-04-06 15:02:12 +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