183920 Commits

Author SHA1 Message Date
tsutsui
6b3b6e9a98 Fix possible endian issue. Untested. 2009-09-22 15:25:12 +00:00
tsutsui
7d94469845 - use device_t and cfdriver_t
- wrap long function decls
2009-09-22 15:04:41 +00:00
tsutsui
3b0a685f2b Split device_t/softc. Tested only on cs at ofisa on shark. 2009-09-22 14:55:19 +00:00
tsutsui
74b0667d3e Bump SYMTAB_SPACE. 2009-09-22 14:49:46 +00:00
tsutsui
72b646b74f Explicitly include <sys/exec_aout.h> for ZMAGIC etc. 2009-09-22 14:49:28 +00:00
tsutsui
5977843ffd Fix wrong softc size in CFATTACH_DECL(). (not cs_softc but cs_softc_isa) 2009-09-22 14:04:56 +00:00
cegger
ee0f0893eb fix botch with merging in changes from x86/x86/cpu.c:
don't use wbinvd(). Xen flushes the cache for us.
This makes DomU boot again.
Spotted by bouyer@.
2009-09-22 13:59:42 +00:00
tsutsui
36b4b2e6c0 - replace shutdownhook_establish(9) with pmf_device_register1(9)
- remove powerhook_establish(9) because all stuff in cs_power()
  will be handled in pmf_class_network

Briefly tested on CS8900 at ofisa on DNARD compatible.
2009-09-22 13:31:26 +00:00
tsutsui
606e573f63 - wrap long lines
- remove unnecessary casts against void pointers
2009-09-22 13:26:54 +00:00
tsutsui
3c2460ce71 Make local functions static. 2009-09-22 13:22:53 +00:00
tsutsui
2f25e6cf41 - make local functions/variables static
- use __arraycount()
2009-09-22 13:20:36 +00:00
tsutsui
d7f21e6129 Don't declare ISA specific aic_isa_attach() in MI header, and
also make local functions in aic_isa.c static.
2009-09-22 13:18:28 +00:00
tsutsui
33999cc30c Remove some more unnecessary casts. 2009-09-22 13:13:46 +00:00
tsutsui
00eb8aa546 Split device_t/softc. Tested on AHA-1520B at ISA and ISAPnP.
XXX: ISA attachment shouldn't match cards in ISAPnP mode.
2009-09-22 12:56:06 +00:00
skrll
bceded4e69 Switch m68k to binutils 2.19.
Tested on mac68k by martin@. All other m68k platforms build tested.
2009-09-22 09:57:28 +00:00
pooka
5e1c61c660 Don't build spcopy for rumpkern. Fixes hp700 build failure pointed
out by nick.

XXX: spcopy should be in the main kernel instead of libkern in any case
2009-09-22 09:57:16 +00:00
apb
8f2b54e18a Fix errors in previous: "optional" and "ignore" keywords also need the
appendfield treatment.
2009-09-22 04:38:21 +00:00
isaki
e4afee40f3 termcap.vt was removed.
http://mail-index.netbsd.org/source-changes/2009/09/20/msg001101.html
2009-09-22 02:50:11 +00:00
isaki
1eadd1cdd0 Fix $NetBSD$ tag. 2009-09-22 01:29:36 +00:00
uwe
d85ac884c9 Switch sh3eb to binutils 2.19.
Compile-tested for mmeye.
2009-09-22 01:28:50 +00:00
bouyer
bd2f090e7c Allow a xbd to be detached from the domU (e.g. at shutdown). Patch tested
and adjusted by David Young, discussed on port-xen@ early august.
2009-09-21 21:59:30 +00:00
agc
59e2dec966 Clarify a couple of entries in the system roadmap 2009-09-21 19:41:23 +00:00
njoly
5fde6173c5 Make do_mtree correctly report failure if either special or
NetBSD.dist checks failed, not only the last one.
2009-09-21 18:03:03 +00:00
uwe
d04b778cf5 Switch sh3el to binutils 2.19.
Boot-tested on landisk.
2009-09-21 17:20:16 +00:00
jakllsch
81f8a1dcf0 Add more-complete definitions of ICH GPIO-related registers.
While here, fix a typo in a register number.
2009-09-21 16:18:31 +00:00
pooka
79b1421a0b <sys/stdint.h> is a non-standard header, so include it only from
kernel code (where it will be included from the NetBSD kernel source
tree).  Use <stdint.h> in userland namespace, i.e. when compiling
librumpuser.
2009-09-21 15:29:36 +00:00
njoly
3ca0c64cb2 Do not call smb_rqpool_fini() on device close. Otherwise, we'll crash
trying to use destroyed pools for SMB request.
2009-09-21 14:13:35 +00:00
macallan
b81d1cca71 set is_console even if we don't have any fb_info so other console drivers
than genfb have a chance of working.
Tested with radeonfb which works fine with an RV280
TODO: figure out how to deal with more than one PCI_CLASS_DISPLAY device in
      a halfway sane manner
2009-09-21 13:23:43 +00:00
pooka
9b040bc3a9 Split config_init() into config_init() and config_init_mi() to help
platforms which want to call config_init() very early in the boot.
2009-09-21 12:14:46 +00:00
tsutsui
c8a52f80ba Split device_t/softc. Tested on AHA-1542CF. 2009-09-21 08:12:47 +00:00
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