Commit Graph

183890 Commits

Author SHA1 Message Date
abs
2108b54359 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi			ansi/pc-term compatible with color
dumb|unknown		80-column dumb tty
hp300h			HP Catseye console
iris-ansi-ap		IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net	IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il	Sun Microsystems Inc. console with working insert-line
vt100|vt100-am		DEC VT100 (w/advanced video)
vt220-8			DEC VT220 8 bit terminal
vt220|vt200|vt300	DEC VT220 in vt100 emulation mode
wsvt25			NetBSD wscons in 25 line DEC VT220 mode
wsvt25m			NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite		NetBSD/x68k ITE
xterm|vs100		xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
2009-09-20 23:19:50 +00:00
pooka
eeb94c804f attach mainbus 2009-09-20 23:16:09 +00:00
pooka
dfd2ba19ba default to AB_SILENT 2009-09-20 23:02:31 +00:00
abs
2383b0ce8e Ten identical list.inet6 files, or one common/list.inet6?
Not a difficult choice.
2009-09-20 22:50:50 +00:00
abs
bdf4da2bba Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
2009-09-20 22:46:10 +00:00
abs
1fabe01b0f remove references to disktab.{preinstall,shadow} 2009-09-20 22:44:06 +00:00
abs
fb1870e986 correct a comment about disktab 2009-09-20 22:43:00 +00:00
abs
6f653b39ef ${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
2009-09-20 19:49:07 +00:00
abs
52f8f0673d Move sun2, sun3 & x68k across to the common distrib etc/services, and
while here reduce it from 1180 to 794 bytes (whitespace & comment cleanup)
2009-09-20 19:41:35 +00:00
abs
5edb620617 Alas poor dot.hdprofile. I knew him... not at all Horatio. (Remove) 2009-09-20 19:29:24 +00:00
tsutsui
102f04400c - use device_t and cfdriver_t
- use device_private() and device_xname()
- use proper types or variables for device_t/softc
2009-09-20 16:18:21 +00:00
bouyer
7de71fb523 PR kern/41147: race between nfsd and local rm
Note that the race also exists between 2 nfs client, one of them doing the rm.
In ufs_ihashget(), vget() can return a vnode that has been vclean'ed because
vget() can sleep. After vget returns, check that vp is still connected with
ip, and that ip still points to the inode we want. This fix the NULL
pointer dereference in ufs_fhtovp() I've been seeing on a NFS server.

XXX I have no idea why using vput() instead of
vlockmgr(vp->v_vnlock, LK_RELEASE); vrele(vp); does not work.
2009-09-20 14:00:24 +00:00
taca
5a6dad0a4b Trying to fix build problem. Thanks to joerg's advise. 2009-09-20 10:29:30 +00:00
tsutsui
6e067fe997 u_intNN_t -> uintNN_t 2009-09-20 08:24:04 +00:00
christos
68b7139cf2 add toshide 2009-09-20 01:14:31 +00:00
christos
8e1339391c Regen 2009-09-20 01:12:49 +00:00
christos
565f31617c remove dup decl. 2009-09-20 01:12:30 +00:00
christos
81b7fefb3a PR/42100: Dave J. Barnes: Support for old toshiba PICCOLO IDE controllers. 2009-09-20 01:09:24 +00:00
apb
b89c187a0f Add new mtree tests 2009-09-19 21:51:47 +00:00
apb
7f9c54c774 Correct list of d_merge* files. 2009-09-19 21:49:50 +00:00
apb
3ce38cde2b Adjust tests to no longer expect a trailing space in each line
of output from "mtree -C".
2009-09-19 21:42:26 +00:00
apb
4f2b672958 Do not print a trailing space on each line with "mtree -C". 2009-09-19 21:41:43 +00:00
apb
4133fb0075 Fix the "mtree -M" problem reported in PR 42031 by Geoff Wing.
The cause of the problem was that part of the code assumed that
nodecmp() on two nodes with the same name would return 0, but in
fact nodecmp() would return -1 or +1 if one of the nodes was a
directory and the other was not.  The fix is to separate the notion
of whether or not a duplicate name was found from the notion of
where the new node should appear in the list.
2009-09-19 20:42:06 +00:00
apb
2eaeff02ed Add tests for the "mtree -M" issue reported in PR 42031 from Geoff Wing. 2009-09-19 20:37:05 +00:00
dholland
84e9f6e9f9 Make rtsold_flags default to -a as per PR 39657. 2009-09-19 19:47:48 +00:00
pooka
f374fa4887 Parameter name in prototype, begone ye scurvy seadog! 2009-09-19 16:34:07 +00:00
jmcneill
ae17b8bef2 If vfs_mountroot fails, print a list of supported file systems. If no
file systems are supported by the kernel, print a big fat warning instead.
2009-09-19 16:20:41 +00:00
dsl
800732bfdc Fix sort -u, PR/42094 2009-09-19 16:18:00 +00:00
abs
eff3a12f1c defs.h:
- Re-order the md_*() definitions so they are in the order called
- Add some comments
- Remove obsolete md_set_no_x() definition
- Remove md_copy_filesystem()
- #if defined(DEBUG) declare backtowin(void) to avoid scattering
  externs in various md .c files

mbr.[ch]:
- Add a set_bios_geom_with_mbr_guess() which can be called by all
  the non x86 ports rather than copying the same code into arc,
  bebox, cobalt, evbmips, evbppc, hpcarm, hpcmips, landisk, ofppc,
  prep, sandpoint, and zaurus md.c

install.c:
- Remove now unnecessary call to md_copy_filesystem()

upgrade.c:
- Move move_aout_libs() here, and put under #ifdef AOUT2ELF
- Rather than having *every* md_update call wrefresh(curscr),
  wmove(stdscr, 0, 0), wclear(stdscr), and wrefresh(stdscr),
  move them here

arch/acorn26/md.c:
- Just include arch/acorn32/md.c, but add a note there warning
  about this, and while here add a note to i386/md.c that it
  is included by amd64

arch/*/md.c:
- By all means "Vive la difference", but we have 38 pairs of md.[ch],
  and they could not even agree on the order in which to list the
  md hooks, let alone formatting. Sort the md hooks to match the
  (now sane) order in def.sh, and try to normalise the formatting
- Also copy across some function level comments everywhere
- Ensure functions only used inside each md.c are defined as static
- Remove some now unused functions
- Some files had enable_rc_conf in #ifdef DEBUG. Add this to all
- bebox, evbppc and sandpoint were still playing broken games with
  copying the booted ramdisk to the target disk, the primary result
  of which was just to slow things down and ensure the target system
  lost the .profile extracted from the sets. Just kill this.
- For some ports md_update() called endwin(), and in others not.
  Take a cure from i386/amd64 and a few other more active ports,
  and update everything to match (no endwin())
- In a couple of cases correct port names in comments
- ANSIfy some lingering old style functions
- Consistently use "return 0;" rather than "return (0);"

More of the mbr code should be abstracted, along with the
get_ramsize() / set_swap() logic, but this is (more than)
enough for one day...

sysinst built for all ports but only runtime tested on amd64 & i386
2009-09-19 14:57:27 +00:00
skrll
ffb28af545 Fix start symbol. I have no idea how this worked before. 2009-09-19 14:54:17 +00:00
skrll
905441e356 Switch vax to binutils 2.19. 2009-09-19 14:53:12 +00:00
pooka
64d32972db arrr, implement softint_disestablish(). this code be needin' an enema, matey. 2009-09-19 14:18:01 +00:00
abs
961dc58afe Add cobalt hp700 hpcarm landisk & ofppc to ALL_MACHINES list 2009-09-19 13:33:17 +00:00
christos
c0bc5ed834 backout the changes that establish a workqueue to synchronize the addresses
for arg and gre because they cause a race condition by calling ioctl() during
interface initialization. To make this work correctly we would need to
synchronize all interface init routines.
2009-09-19 13:11:02 +00:00
tsutsui
579b9cbd30 u_intNN_t -> uintNN_t 2009-09-19 11:53:42 +00:00
pooka
8f328cc813 Set SAVENAME for rmdir and remove.
Addresses an easy part of PR kern/38188
2009-09-19 11:44:19 +00:00
skrll
2c50cb71cb Initialise index_gen_mtx before use. 2009-09-19 11:02:07 +00:00
skrll
d50428f757 Switch sparc and sparc64 to binutils 2.19.
Thanks to martin@ for testing.
2009-09-19 09:00:58 +00:00
tron
998ba1c3ac Fix typo in name. 2009-09-19 08:05:24 +00:00
snj
f2a7edf211 Only generate SHA512 and MD5 checksums for releases. 2009-09-19 07:09:53 +00:00
tsutsui
fd194ac3e5 Include "ioconf.h" instead of extern struct cfdriver foo_cd decls. 2009-09-19 07:07:42 +00:00
snj
b53bfce489 Sync with reality. 2009-09-19 07:06:55 +00:00
snj
7bc03db112 Update core group membership. 2009-09-19 06:18:01 +00:00
tsutsui
13855cad09 Use common ether_crc32_le() for multicast hash. 2009-09-19 04:55:45 +00:00
snj
bbb05cc64a Update for new xterm. 2009-09-19 04:54:04 +00:00
tsutsui
a616b75df3 Split device_t/softc.
Tested on TME emulating SS2.

XXX: bwtwo at obmem on TME emulating sun2 didn't match and cannot test
2009-09-19 04:52:44 +00:00
tsutsui
6d160c7919 Split device_t/softc.
Tested on:
---
qec0 at sbus0 slot 3 offset 0x20000: 128K memory
be0 at qec0 slot 0 offset 0x0 level 4 (ipl 7): rev 1, address 00:80:17:xx:xx:xx
2009-09-19 04:48:18 +00:00
tsutsui
1f6e50b57e Make bwtwo(4) match prior to genfb(4).
Required by bwtwo(4) on TME emulating SS2.
2009-09-19 03:49:22 +00:00
mhitch
298c91975c Explicitly include sys/exec_aout.h. 2009-09-18 21:40:09 +00:00
pooka
159d9b46b8 vax macro magic requires Sysmap (untested).
XXX: I should add the blanket userspace pmap back for vax, its
pmap.h just has too many inlines and macros for this to ever work.
2009-09-18 18:31:53 +00:00