Commit Graph

82423 Commits

Author SHA1 Message Date
fredette b480d71a7a Added an attachment for Intel ethernet (ie) at obio.
Added support for the 3Com Ethernet (ec) at mbmem.
2001-06-27 17:24:35 +00:00
fredette 1bf6975d6b Added support for the PROM console. 2001-06-27 17:04:59 +00:00
fredette fdc8ed9a06 Updated for ELF support. 2001-06-27 17:03:10 +00:00
fredette 79f31f9463 A sun2 is also a sun68k kind of a machine, and it also uses ELF. 2001-06-27 16:59:57 +00:00
fredette e702f4a813 Now uses the sun68k common code. Changed how the keyboard
and mouse attach.  Added support for ie at obio, the ec adapter.
2001-06-27 16:57:57 +00:00
fredette 9e33b7b680 Updated with VME machine support, a.out compat,
some zs and console changes.
2001-06-27 16:51:20 +00:00
bouyer db6d5fc4a7 When setting/changing an address, no need to call ti_init() if the interface
is already up.
Especially this allow netatalk to start properly on a ti interface.
2001-06-27 16:47:33 +00:00
eeh 5d3b545fcc Add documentation for COMPAT_SVR4_32. 2001-06-27 16:41:00 +00:00
ichiro 46a9744df4 enabling EMTAC A2424i Wavelan Card
It work fine.
2001-06-27 16:03:01 +00:00
itojun 9ccf08b3c5 netbsd; on interface removal, force pcbs to leave from multicast groups
pointing toward the interface about to be removed.  sync with kame
XXX still need more discussions on semantics.  the behavior should be safer
2001-06-27 15:53:14 +00:00
itojun 669cdc0b4f clarify issues with AH with encapsulation, and inbound "require" policy.
we now have racoon(8).  sync with kame.
2001-06-27 15:27:00 +00:00
darcy 685fb6365d Added the commented lines with the defaults for the system values associated
with System V semaphores.
2001-06-27 13:40:12 +00:00
darcy 5f43adf46b Added entries for system values related to System V semaphores. Note that
the entries refer to the GENERIC config file for each port for defaults
but I still have to do that.  It was suggested to me that the man page
should be updated first and I didn't want to be changing it twice.  I
will work on the GENERIC files over the next few days.  If anyone wants
to jump in with an update for their favorite port please feel free.  I
will do the i386 port immediately if you want to use it as a template.
2001-06-27 13:25:25 +00:00
bouyer 6a91469e6d Some ATAPI CD occasionally reports "ATA illegal indication length" for
a request sense command, but the sense is properly transfered anyway.
Ignore the error for this case.
2001-06-27 13:22:36 +00:00
bouyer 4fadc33006 Better diagnostic when a REQUEST SENSE is terminated with CHECK CONDITION. 2001-06-27 13:21:30 +00:00
zuntum 4a5fefeba1 Mention REPLACE_PERL
Takes a list of files and replaces each occurence of "/usr/bin/perl", "/usr/local/bin/perl"
and "/usr/pkg/bin/perl" in the named files with the value of ${PERL5}.
This can be used to point perl scripts to the proper interpreter that pkgsrc installs.
Note: it looks for the listed files in ${WRKSRC}.
2001-06-27 12:57:47 +00:00
nisimura 229c5757e6 Cobalt MIPS servers are known to have QED RM5200 processor. 2001-06-27 08:44:24 +00:00
nisimura 0533d3265c Do a straight and simple cpu identification in cpu_attach(). 2001-06-27 08:20:44 +00:00
enami ab05795faa Fix tcpdump path. 2001-06-27 05:17:32 +00:00
fredette 08068ecc5d Don't unmap the PROM's first four physical/virtual pages
inside pmap_bootstrap, instead we will wait until we have
installed our vector table.
2001-06-27 03:41:27 +00:00
fredette d5598f2f68 Made these files part of the sun68k common code. 2001-06-27 03:32:49 +00:00
fredette 39fb6a6f16 Now netintr and sun2_find_prom_map have prototypes in
the common sun68k code.  Added prototypes for g0_entry
and g4_entry so that prom_abort() can use them.
2001-06-27 03:31:42 +00:00
fredette 7a083fffc2 Don't set up the g0 and g4 handlers here, now prom_abort()
does this.  Include the common m68k 16-bit aligned copy routines.
2001-06-27 03:25:31 +00:00
fredette 4d85da3f79 Moved much softint and bus_space/bus_dma code
to the common sun68k code.
2001-06-27 03:16:02 +00:00
fredette ee7503cf71 Converted to use the new bus-specific attach args. 2001-06-27 03:00:45 +00:00
fredette a50332b3e7 Converted to use the new bus-specific attach args,
and the bus_space_peek_N functions.
2001-06-27 02:59:26 +00:00
fredette 19f9c211b0 Added a kernel files/devices config file covering
the common sun68k code.
2001-06-27 02:55:30 +00:00
fredette c0cf0f4a11 Added a Makefile to install sun68k common headers. 2001-06-27 02:53:39 +00:00
fredette fef1479cf8 Now give at least the appearance of having bus-specific
attach args.  In reality everything is still one structure,
now called mainbus_attach_args, and a series of macros
creates the illusion.
2001-06-27 02:53:07 +00:00
fredette 1a29a16e5a Now define splzs() here. 2001-06-27 02:51:45 +00:00
fredette 5d81b8d269 Added common sun68k autoconfiguration and bus_space
related code.  Currently used by sun2.
2001-06-27 02:48:32 +00:00
simonb 2de3233da6 Fixes to compile on alpha. Reported by Caffeinate The World on
current-users.
2001-06-27 02:46:25 +00:00
thorpej 25f00d4c18 In getnewvnode(), allocate a vnode from the pool with NOWAIT. If
that fails, just try to recycle a vnode.  If we can't allocate or
recycle, issue a warning, sleep a bit, and try the whole thing
again.

This prevents us from blocking forever if we want to use a very large
number of vnodes, but don't have {memory,kva} resources from which to
allocate them.
2001-06-26 22:52:03 +00:00
chris e2d29421a9 Add checks (make non DIAGNOSTIC) to make sure that we never call uvm_fault from an interrupt. 2001-06-26 22:09:19 +00:00
bjh21 25d9d85b42 seeq8005-based drivers (ea and eb) now support full-sized frames. 2001-06-26 22:01:45 +00:00
bjh21 770912bb85 Add support for handling full-size 802.1Q packets. 2001-06-26 22:00:44 +00:00
uwe 6a127dddd8 KNF: put parens around returned values. 2001-06-26 20:35:54 +00:00
uwe b4ded8ad61 Some OpenFirmware client services return -1 on error, while the rest
of the code expects zero.  Add some wrappers so that opf promops are
consistent with obp promops.  Now microSPARC-IIep correctly panics ;)
While here, propagate 'static' to opf_* definitions.
2001-06-26 20:21:59 +00:00
uwe 67a5f8fc0a OF_finddevice uses -1 to signal error. Make it zero to match what
the rest of the code expects the error value to be.
2001-06-26 19:37:54 +00:00
bjh21 e0e53bb8fe Change the DUBUG check on interrupt depth in do_fault() into a KASSERT, since
we're never allowed to call uvm_fault from an interrupt.
2001-06-26 19:37:18 +00:00
lukem afa0abb87f s/tise/tize/ in docco, add "advertize" as synonym for "advertise" 2001-06-26 19:30:44 +00:00
bjh21 ead93c630b Chomp out the old, unused undefined_handler(). 2001-06-26 19:22:02 +00:00
jdolecek e65c47a67f vfs_rootmountalloc: take advantage of LIST_FOREACH() 2001-06-26 19:14:25 +00:00
thorpej a279b0973b Reduce some complexity in the fault path -- Rather than maintaining
an spl-protected "interrupt safe map" list, simply require that callers
of uvm_fault() never call us in interrupt context (MD code must make
the assertion), and check for interrupt-safe maps in uvmfault_lookup()
before we lock the map.
2001-06-26 17:55:14 +00:00
thorpej 0910b96106 Panic if we get an MM trans/prot fault in interrupt context. 2001-06-26 17:29:28 +00:00
thorpej 78ae4127bb Note that uvm_fault() must NEVER EVER EVER be called in interrupt
context.
2001-06-26 17:27:31 +00:00
itojun b12a7f19d9 drop setgid. suggested by deraadt 2001-06-26 17:10:33 +00:00
thorpej a160a0b77c Make the kmemstats limits unsigned, and use unsigned arithmetic
to compute them.  Prevents overflows when using a very large number
of kmem pages.

From chopps@netbsd.org.
2001-06-26 16:02:27 +00:00
wrstuden 716d3ae08f In vcount(), when getting rid of unused aliases, don't vgone one which
has VXLOCK set - it's already being vgoned, most likely by one of our
callers. If we call vgone, we can end up sleeping against ourself
with VXLOCK set - we'll start the race for root.

Pointed out by Love <lha@stacken.kth.se> on tech-kern. Analysis from
Artur Grabowski <art@openbsd.org> via Love.

Should resolve PR kern/13077
2001-06-26 15:51:06 +00:00
bouyer 90d0e67408 Add a XS_CTL_SILENT_NODEV flag: if the sense info is "not ready, medium
not present" don't print any message but still return ENODEV.
Use this in cd driver to allow open of character raw partition even if
the drive is empty (older drives fails at LOAD_UNLOAD time, newer
ones fail at TEST_UNIT_READY time).
2001-06-26 15:32:02 +00:00