Commit Graph

160806 Commits

Author SHA1 Message Date
pooka c7d9ec16a7 VFS_MOUNT():
+ nameidata is a goner
  + document dlen (hi dsl!)
2007-07-31 21:39:56 +00:00
pooka a548cdc358 4.99.26: whole lotta love
+ remove nameidata parameter from VFS_MOUNT()
  + struct buf.b_flags B_ERROR removal
  + ubc_uiomove() advice parameter
2007-07-31 21:18:20 +00:00
pooka 8d1f899239 * nuke the nameidata parameter from VFS_MOUNT(). Nobody on tech-kern
knew what it was supposed to be used for and wrstuden gave a go-ahead
* while rototilling, convert file systems which went easily to
  use VFS_PROTOS() instead of manually prototyping the methods
2007-07-31 21:14:15 +00:00
ginsbach f5f9bb5739 Make sure that %r honors the LC_TIME t_fmt_ampm. This restores
functionality lost at revision 1.12!
2007-07-31 20:19:16 +00:00
jmmv 458be06c42 Switch the console to use vt100, as done in almost all other platforms.
GENERIC has provided wscons for a while, with "options WSEMUL_VT100"
enabled by default.
2007-07-31 19:55:03 +00:00
jmmv d291012153 Switch NetBSD/shark's installation kernel and disk image to use wscons
instead of pccons, just like its GENERIC kernel does.

This obsoletes pccons in this platform, which will probably be removed
later.
2007-07-31 19:51:58 +00:00
jmmv f6199f0afb Force vga(4) to override the font built into the VGA ROM by one that
properly supports all characters expected by wscons.  While doing this
configure a font that resembles the native one as much as possible.

This is a prerequisite for switching INSTALL to use wscons.
2007-07-31 19:35:37 +00:00
rjs dbd9ca5e31 Add description for hpcarm-cleanup. 2007-07-31 15:51:15 +00:00
tnn 95342a9670 Fix previous; lwp status are states, not flags. 2007-07-31 09:56:31 +00:00
hannken a508ec1750 - Replace the freelist with a pool. Current code never freed its dquot's.
- Always call dqsync() with dq locked.
- Add some assertions to verify the lock held.
- Serialize quotaon()/quotaoff(), dqhashmtx becomes dqlock.  From ad@

Reviewed by: Andrew Doran <ad@netbsd.org>
2007-07-31 09:29:52 +00:00
macallan 7add3da5f4 SuperSPARCs without cache controller need some extra cache flushs
With this a MULTIPROCESSOR kernel works again with a pair of SM50
2007-07-31 05:21:47 +00:00
jnemeth 173e0805ea update portmaster list again after recent updates to website 2007-07-31 05:18:19 +00:00
taca 9fcfdb104e Apply a patch from https://bugzilla.mindrot.org/show_bug.cgi?id=1306.
Fix nasty "error: channel 0: chan_read_failed for istate 3" message.
2007-07-31 03:09:49 +00:00
tnn 7a9d8e5613 proc_representative_lwp:
- Correct expression for checking if the lwp is running.
 - Remove dead code. Ok'd by Andrew Doran.
2007-07-31 00:52:04 +00:00
macallan 1e54ba9802 add hardware cursor support 2007-07-30 23:28:13 +00:00
alc 9abba19570 kills a few `caddr_t' occurences still present in manpage 2007-07-30 22:48:46 +00:00
ad 00348ca253 callout_barrier: drop kernel_lock before blocking. 2007-07-30 21:36:54 +00:00
pavel c723e7a07c Add xref to sockstat, from Zafer Aydogan in PR misc/36706.
Bump date.
2007-07-30 19:59:42 +00:00
macallan de5fd94989 mention wsdisplay at cgfourteen 2007-07-30 19:07:35 +00:00
macallan 4ba11875bf add wsdisplay support for cg14
The console will run in 8bit but switch to 32bit in mapped mode so XFree86
with wsfb can run in 24bit colour.
2007-07-30 18:20:08 +00:00
mjf 16b3db7a9b Fix some grammatical errors in man pages.
Patch supplied by Joerg Niendorf in PR misc/36707, thanks.
2007-07-30 18:01:41 +00:00
pooka 573c189296 properly setup ubcflags 2007-07-30 14:49:01 +00:00
he e448d82109 Change one overlooked label reference from "bad" to "done". 2007-07-30 14:32:40 +00:00
jmmv a556f30fda In the shark's installation image, create the bpf device from the
'ramdisk' MAKEDEV goal instead of from a Makefile definition.  As there
is just one configuration for the ramdisk, it's better to keep everything
in one place.
2007-07-30 14:03:17 +00:00
jmmv 5575290bc2 Fix build of kernels that use vga or igsfb together with pccons by avoiding
a warning mentioning an unused static function.
2007-07-30 13:02:01 +00:00
jmmv 3e495310cf Print some debugging information when DEBUG is set, not when TERSE is
unset.  The latter is not a "standard" definition, and was used in very
few places anyway.
2007-07-30 12:25:14 +00:00
pooka eaf29fa688 Move PUFFS_TYPEPREFIX to puffs_msgif.h since it's used in a macro there. 2007-07-30 09:04:58 +00:00
pooka a06e97c8ef move setrootfstime() from init_main.c to vfs_subr2.c 2007-07-30 08:45:26 +00:00
taca 324019adc6 Make it compile with WD_SOFTBADSECT option. 2007-07-30 06:59:13 +00:00
taca aefef5cb2c Add lint library for libarchive(3). 2007-07-30 06:58:18 +00:00
rumble 331f3b4b63 Rescue the subjunctive. 2007-07-30 05:00:55 +00:00
rumble daacba5e07 Be more specific in the description of VOP_READDIR:
- uio->uio_offset must be set to the offset of the next directory entry.
 - each cookie entry points to the next directory entry's offset, not the
   current entry's offset.
 - cookies must be callee allocated with malloc type M_TEMP.
2007-07-30 03:25:50 +00:00
rumble 3ea6a6534e Use _DIRENT_MINSIZE when determining the number of NFS cookies to allocate,
rather than hard-coding 16.
2007-07-29 21:17:41 +00:00
rumble 1c42082598 Only set *ap->a_cookies when we're returning success. Also, do not hard-
code 16, but rather use _DIRENT_MINSIZE as the divisor when determining
the number of cookies to allocate.

Noticed by pooka@.
2007-07-29 20:58:10 +00:00
jmmv 36b239668c Use get_media_subtype_string instead of get_media_mode_string to determine
the card's current media type.  Otherwise it always defaults to 'autoselect'
which is not supported by all cards (e.g. cs(4) in NetBSD/shark).

This was causing problems when configuring an interface with dhclient, as
sysinst could incorrectly reset the media type (the net_media variable) to
'autoselect', writing incorrect ifconfig.<if> files in the target file
system.
2007-07-29 20:44:26 +00:00
rumble 8f9941b474 Support NFS cookies and the eofflag in efs_readdir. Also, be sure to
update uio->uio_offset as not doing so would cause large directory reads
to misbehave.

EFS is now properly NFS-exportable.
2007-07-29 20:15:20 +00:00
jmmv 38b7aff676 Replace usages of bcopy:
- Use memmove to copy memory blocks that are likely to overlap.  Fixes
  some rendering problems in programs that use, for example, the "insert
  rows" feature.  This was reproducible with sysinst as explained here:
  http://mail-index.netbsd.org/tech-install/2007/07/29/0000.html
- Use memcpy in situations where the blocks cannot overlap.
2007-07-29 18:01:11 +00:00
pooka b5bd455564 make closehandles() void, because that's what it is 2007-07-29 17:50:22 +00:00
joerg 577a8c7029 Add build glue for libarchive and update the various sets. 2007-07-29 17:06:00 +00:00
joerg ae6a532ddf Add entry for libarchive. 2007-07-29 16:43:59 +00:00
joerg ed52b7dc34 Import libarchive-2.2.5.
Only the library, tar, the test suites for each and the NEWS are
imported, the rest is not used or currently not useful.

Patches for an aliasing violation and a ctype interface violation
are included, they are scheduled to be part of the next release.
2007-07-29 16:35:09 +00:00
xtraeme 415820dd5e Fix up some comments. 2007-07-29 15:44:24 +00:00
jmmv daea18cac0 Disable the mouse driver during installation. Not needed. 2007-07-29 15:14:08 +00:00
pooka 59f0f4532f Split vfs_subr.c into routines which need much of the kernel
infrastructure (vfs_subr.c) and routines which need little or none
of the kernel infra (vfs_subr2.c).
2007-07-29 14:44:08 +00:00
nonaka 6198bdd8dc Added /usr/sbin/tpctl 2007-07-29 14:37:53 +00:00
nonaka 16469ee06f Added zaurus. 2007-07-29 14:37:25 +00:00
nonaka d8caf5f9b4 Added apm releated programs. 2007-07-29 14:35:55 +00:00
nonaka 055f45996f Added zaurus. 2007-07-29 14:34:45 +00:00
nonaka d1d5985b69 Added apmvar.h 2007-07-29 14:32:18 +00:00
nonaka 1de7f19819 Added support to detect AC adapter and charge battery. 2007-07-29 14:31:23 +00:00