thorpej
15b56daab6
If posting an error condition because the media has been unloaded,
...
make sure to set the residual count to reflect that no data was
transfered.
From Naofumi HONDA / MINOURA Makoto, PR #3007 .
1997-02-21 23:03:25 +00:00
thorpej
850b75414f
- Tidy up some printf code in chattach().
...
- Implement a simple quirks framework for changers.
- Add a quirk for the Spectra 9000 8mm tape library; it requires a
slightly-longer-than-1-minute delay to take tape inventory. Many
thanks to David Webster at Cygnus Solutions for testing this for me.
1997-02-21 22:06:52 +00:00
thorpej
625d310b1b
Handle optical disks a little better, from Naofumi HONDA / MINOURA Makoto
...
in PR #3009 , with some slight KNF from me.
1997-02-21 21:51:59 +00:00
thorpej
bf13067994
Give the entry point of this LKM a sane name, as suggested by
...
Matthias Scheler <tron@lyssa.owl.de> in PR #3140 .
1997-02-21 21:11:16 +00:00
gwr
900bc3f621
Add OBIO_EMULEX_SCSI, and some comments about attach order.
1997-02-21 20:33:09 +00:00
thorpej
255b9d74d8
Rewrite the object chain collapse code. Bugs fixed are too numerous
...
to describe here. This should fix the problems with "hanging processes"
people have seen since the original object collapse code was committed.
From Charles Hannum <mycroft@netbsd.org>
1997-02-21 20:30:49 +00:00
thorpej
235a2d71f7
Use vm_object_paging() to test if an object has pages in transit.
...
From Charles Hannum <mycroft@netbsd.org>
1997-02-21 20:27:21 +00:00
thorpej
dd8d0f1f00
Define a macro to test if an object has pages in transit. Clarify
...
some arithmetic, and nuke an unneeded prototype.
From Charles Hannum <mycroft@netbsd.org>.
1997-02-21 20:26:03 +00:00
thorpej
17b60fc6e9
In vnode_pager_sync(), we need to vm_object_deallocate() after cleaning
...
pages. Noticed by Thor Simon <tls@netbsd.org>, confirmed by
Charles Hannum <mycroft@netbsd.org>
1997-02-21 20:22:39 +00:00
jeremy
2eff5a6059
Fix typo in comment.
1997-02-21 07:14:21 +00:00
is
b22d1088ea
Make this compile again on NetBSD-current/i386.
1997-02-20 17:53:50 +00:00
mikel
b6a5671c00
make sure that packets are ours before passing them up if interface is
...
in promiscuous mode; from Juergen Weiss in PR kern/3121.
1997-02-20 06:59:32 +00:00
mikel
a92b2e06e5
include terminating null in count returned by SUN_LEN macro; from
...
Enami Tsugutomo in PR kern/3035.
1997-02-20 06:43:48 +00:00
scottr
5c8de7766a
Implement bus_space_set_multi_N(), bus_space_set_region_N(), and
...
bus_space_copy_N(). Bus space support is now complete.
1997-02-20 05:53:00 +00:00
mikel
2af30c1cd3
make sure max_target is initialized for both buses on multibus parts;
...
from Anders Hjalmarsson in PR 3103.
1997-02-20 05:15:50 +00:00
mikel
be4f5a32c1
use the proper entry count; from Yasufumi Itoh in PR kern/3175.
1997-02-20 05:04:05 +00:00
mikel
b0e7d3c13b
sync filesystems in reverse order. suggested originally by Jim Rees
...
<rees@citi.umich.edu>, with some updating by Greg Hudson <ghudson@mit.edu>.
1997-02-20 04:52:44 +00:00
jeremy
043293d2da
Added the '@' symbols that GAS needs for address register indirect addressing
...
statements that are used when PMAP_DEBUG is undefined.
1997-02-20 00:54:21 +00:00
gwr
4f4bade9a7
Improve a comment.
1997-02-20 00:32:15 +00:00
scottr
b1e5912330
We need bus.h now, due to recent nubus_attach_args change.
1997-02-20 00:23:25 +00:00
gwr
e1ca9af0cf
Add dev/clock_subr.c
1997-02-19 23:40:30 +00:00
gwr
c14237282d
Make this use sys/dev/clock_subr.[ch]
1997-02-19 23:38:46 +00:00
gwr
2e84cacf02
Add dev/clock_subr.c
1997-02-19 23:36:38 +00:00
gwr
b76d5979d8
Make this use sys/dev/clock_subr.[ch]
1997-02-19 23:35:02 +00:00
gwr
d8b59a12b5
Shared functions to convert between year/month/day/hour/minute/second
...
and "seconds since 1970" (POSIX time_t). See sys/arch/sun3/sun3/clock.c
for an example of how these can be used.
1997-02-19 23:29:28 +00:00
scottr
54b157939d
Don't include ipfilter.h if building an LKM.
1997-02-19 23:07:57 +00:00
gwr
69da16abc9
Need to define M68020 for copy.s
...
Add PM_CTXNUM, tweak...
1997-02-19 16:02:59 +00:00
gwr
1b7813bc35
Just M68030 is enough.
1997-02-19 15:59:21 +00:00
gwr
eb8bfe4829
Forgot the quotes (slow down...)
1997-02-19 15:55:33 +00:00
gwr
62bb836d73
Oops... need to define M68020 for copy.s
1997-02-19 15:54:26 +00:00
ragge
e86bc96653
Basic change to cpu-config code. This will make support of new
...
cpu types much easier.
1997-02-19 10:04:09 +00:00
cjs
788bcc9857
Fix bug in sysctl net.inet.ip.forwsrcrt handing: now you can read it
...
if securelevel > 0. (Thanks, cgd.)
1997-02-19 08:30:04 +00:00
scottr
c079123e89
Add a bus space tag field to nubus_attach_args
1997-02-19 06:21:49 +00:00
jeremy
035b20b171
Update copyright and fix typos in macro definition used when not debugging.
1997-02-19 04:17:32 +00:00
gwr
7e74608bf9
Get the screen size right on the 3/260 (Fixes PR#2402)
1997-02-19 00:22:40 +00:00
gwr
8b7e154aab
Oh... can not set cold=0 before swapconf() is done with any I/O
...
that might cause a call to sleep (procinit not done yet).
1997-02-19 00:20:52 +00:00
gwr
0a928acbfc
Remove some unnecessary <vm/*> headers. Have to keep <vm/vm_param.h>,
...
at least until boolean_t moves to <sys/types.h> or someplace...
Also make ddb_regs extern here. Closes PR#3213
1997-02-18 22:29:58 +00:00
gwr
25c5ca44ce
Define ddb_regs here (and extern in db_machdep.h)
1997-02-18 22:27:32 +00:00
gwr
5f501028f6
No longer need pm_stats
1997-02-18 21:21:11 +00:00
mrg
6d1865aace
include net/pfil.c with pfil_hooks|ipfilter
1997-02-18 21:14:03 +00:00
mrg
175166de6a
comment PFIL_HOOKS as it is redundant (as an option) when used with ipfilter.
1997-02-18 21:10:19 +00:00
mrg
22245e60a5
comment PFIL_HOOKS as it is redundant (as an option) when used with ipfilter. minor format
1997-02-18 21:09:56 +00:00
mrg
b10b2c5426
comment PFIL_HOOKS as it is redundant (as an option) when used with ipfilter.
1997-02-18 21:07:36 +00:00
mrg
4c8bfe2630
pseudo-device ipfilter brings in PFIL_HOOKS.
1997-02-18 20:49:32 +00:00
gwr
9ed330d6df
Add pmap_wired_count()
1997-02-18 20:18:56 +00:00
gwr
12fdd0800f
Add pmap_wired_pages()
1997-02-18 20:16:54 +00:00
gwr
b7a0884908
The previous commit was an "oops" due to out-of-date sys/lib/* files.
1997-02-18 17:12:46 +00:00
gwr
3c10fb1e47
Put back in the code to deal with advancing the PC on first entry,
...
and a long comment explaining why (needed on the pc532).
Remove PUTESC(c) macro which is no longer used.
1997-02-18 16:45:10 +00:00
gwr
3480f70835
Set kgdb_debug_panic if we connect to gdb.
1997-02-18 16:09:59 +00:00
gwr
d2a3410f0c
Moved straytrap() to trap.c (and minor cleanup)
1997-02-18 15:53:15 +00:00
gwr
c1699a0c88
Add a debug helper for detecting recursive kernel-mode traps.
...
Move straytrap() here from machdep.c
1997-02-18 15:37:57 +00:00
scottr
7387b50dc5
_All_ compat LKMs are broken. Pointed out by mrg.
1997-02-18 15:31:51 +00:00
gwr
e61bb6f903
Define "cold" over in autoconf.c
1997-02-18 15:30:01 +00:00
gwr
2c7b4c9af4
Share autoconf.c with the sun3
1997-02-18 15:15:02 +00:00
gwr
b2d071ede7
Add bus_subr.c; share autoconf.c with the sun3
1997-02-18 15:13:13 +00:00
gwr
626bde2f9b
Add bus_subr.c
1997-02-18 15:10:40 +00:00
gwr
1af5733370
New implementation of the findroot/setroot business. Eliminates
...
dependency on wired-down SCSI target/LUN for boot devices.
1997-02-18 15:07:29 +00:00
gwr
201c1f178e
Move bus_peek(), bus_mapin() here from autoconf.c so the latter
...
may be shared with the sun3 port.
1997-02-18 14:58:32 +00:00
gwr
48da5b3d44
Move bus_peek(), bus_mapin() here from autoconf.c so the latter
...
may be shared with the sun3x port.
1997-02-18 14:57:41 +00:00
mrg
42ae012452
This is all from mycroft:
...
Create macros (with names borrowed from Mach 3) to manipulate
object->paging_in_progress, and use them. When decreasing the
paging count, always make sure to wake up anyone waiting.
Fixes `vospgc', `vosca1', and `vosca2' hangs.
1997-02-18 13:39:31 +00:00
jonathan
c7cec27edf
Move if_ep media-sense code from front ends to inside back end,
...
to prepare for if_media, and to support EISA 3c59x cards:
* change epconfig() to take a short that encodes the chipset
type (3c509, or Demon/Vortex/Boomerang).
* add distinct 3c509 and Demon/Vortex/Boomerang media-sense
functions to back end.
* Add EISA match/attach support for the 3c592 and 3c597
(Demon) cards as well as the 3c509-comatibl EISA 3c509/3c579.
* Assume that ISA and ISA PnP cards are 3c509-style, until
proof to the contrary (e.g. large packet support).
Tested on 3c595, 3c590, and 3c509b. Not tested on 3c515 or Demon.
1997-02-18 10:51:06 +00:00
scottr
a3797a2459
The union LKM is currently broken. Do not build it.
1997-02-18 06:08:51 +00:00
scottr
3a2dd27260
The compat_sunos LKM is currently broken. Do not build it.
1997-02-18 06:08:50 +00:00
mrg
d1b433e462
check that fd being poll()ed is valid. from mycroft.
1997-02-18 04:20:54 +00:00
mark
6e638fd4fb
Call mount() on function entry if both GPROF and PROFILE_ASM are defined.
1997-02-18 03:15:06 +00:00
mark
ad178d5138
Limit valid numeric digits to between 0 and min(base, 9) inclusive so that
...
puntuation characters are not evaluated.
1997-02-18 03:12:15 +00:00
mark
e4316a91d0
Rebuilt from podules file.
1997-02-18 03:08:59 +00:00
mark
c569d5e23f
Added new podule ID's for ICubed etherlan interfaces.
...
Fixed typo in A448 title string.
1997-02-18 03:08:04 +00:00
mrg
6fd38fc5f9
pass P_SUGID to child. from freebsd.
1997-02-18 01:30:37 +00:00
jonathan
788394a2e4
Change bha_pci product names to match latest pcidevs:
...
PCI_PRODUCT_BUSLOGIC_OLD946C -> PCI_PRODUCT_BUSLOGIC_MULTIMASTER_NC
PCI_PRODUCT_BUSLOGIC_946C -> PCI_PRODUCT_BUSLOGIC_MULTIMASTER
1997-02-17 22:42:21 +00:00
tls
127c6b54e7
Sigh. I initially had this exactly backwards: the object needs to be locked, the vnode does *not*. Avoids panic: locking against myself quickly reported by Charles.
1997-02-17 13:10:28 +00:00
tls
a507fda378
vnode_pager_sync bugs: A) must lock the object, not just the vnode. B) Don't remove the object from paging queues, because we'd have to put it back on one. The pagedaemon will eventually take care of this for us anyway. This was causing us to *lose track of pages completely* every time vnode_pager_sync() was called... sigh. Credit goes to mycroft for untangling this mess.
1997-02-17 06:22:52 +00:00
jonathan
82d682ac83
Correct low-order product code digits for 3Com 3c597 family.
1997-02-17 00:06:17 +00:00
jeremy
d28a4db292
Update to use new style ``clean'' and ``depend'' rules.
1997-02-16 22:18:01 +00:00
cgd
90466a7b42
protect against multiple inclusion, make HEAP_LIMIT define libsa-specific
1997-02-16 21:27:06 +00:00
cgd
72a6422a5e
allow includers to specify library-specific CPP flags via ${LIB}MISCCPPFLAGS
1997-02-16 21:25:18 +00:00
ragge
c3aeacf957
unsigned -> long to match ddb change.
1997-02-16 20:37:29 +00:00
jonathan
fcdd1b0065
fix typo in 3Com 3c597 product description.
1997-02-16 20:10:31 +00:00
jonathan
ac06c9aae3
Add product entries entries for 3c592, 3c597 (Demon).
...
(Assume revision zero until proof to the contrary.)
1997-02-16 20:01:14 +00:00
gwr
7190ad9936
Fix a major bug in pmap_remove_kernel() that causd the removal of
...
one page too many (worse, it unmapped our stack page... Ouch!)
Also, use loadcrp() and such instead of calling pmap_activate
in various places so we have more control over TLB flush.
Now pmap_activate() is called only by locore (and that call is
done only if PMAP_DEBUG is defined). Other minor clean-up...
1997-02-16 19:38:08 +00:00
ragge
657c7b5d55
This file has been obsoleted for ages.
1997-02-16 17:40:46 +00:00
veego
932fca6287
regen.
1997-02-16 17:21:26 +00:00
veego
d0e4650c7d
Fix errors in the last commit.
1997-02-16 17:17:30 +00:00
leo
2242daf790
Initialize 'bestf' to make this compile again with -Wall.
1997-02-16 13:02:59 +00:00
leo
e123072427
:: -> :
1997-02-16 13:00:49 +00:00
leo
b974335693
Fix some typo's from the setroot mega commit and re-order the device
...
preferences.
1997-02-16 12:59:56 +00:00
jonathan
4fdff0ed65
* Add ep_complete_cmd() function, to issue commands that perform a reset
...
(RX_RESET, TX_RESET, GLOBAL_RESET).
Commands issued while a reset is in progress may be dropped. The driver
must wait until resets are complete; ep_complete_cmd() does so.
* Change RX_RESET, TX_RESET, GLOBAL_RESET to use ep_complete_cmd().
* Revert epconfig() to use inline RX_RESET, TX_RESET.
That avoids accidentally setting IFF_UP, which breaks both diskless boot,
and "halt" commands issued before the interface is brought up.
1997-02-16 04:09:18 +00:00
perry
0c7dacfcec
All these files are ancient and haven't been used in years -- the
...
current boot blocks are in boot/; we need the thing cleaned out so we
can put the new libsa based boot stuff in its place.
1997-02-15 23:54:52 +00:00
tls
d21c733fd8
greatly expanded pcidevs file courtesy of Carl Shapiro <cshapiro@sparky.ic.sunysb.edu>.
1997-02-15 11:07:08 +00:00
gwr
2053794556
Add sun3/regdump.c
1997-02-14 20:10:50 +00:00
gwr
ae0ec6bc84
Moved regdump() and friends to sun3/regdump.c
1997-02-14 20:09:14 +00:00
gwr
da6b170800
Add sun3/regdump.c, sun3/sig_machdep.c
1997-02-14 20:01:41 +00:00
gwr
f01121ece4
Moved sendsig(), sys_sigreturn() to sun3/sig_machdep.c
...
Moved regdump() and friends to sun3/regdump.c
1997-02-14 20:00:51 +00:00
gwr
780e636b2d
Pull regdump() out of machdep.c and correct a problem where it
...
would try to print things that are beyond the end of the stack.
1997-02-14 19:55:18 +00:00
is
85aab927f0
Fix obvious typo.
1997-02-14 13:06:28 +00:00
scottr
25c49f276f
Revive in simplified form; include GENERIC and enable md_root hooks.
1997-02-14 06:27:20 +00:00
scottr
150538df02
Add memory disk pseudo-device
1997-02-14 06:23:14 +00:00
scottr
0b91c7f0cb
Use MAKEBOOTDEV macro to construct bootdev
1997-02-14 06:15:30 +00:00
scottr
662401449a
Remove incorrect comment re: bootdev
1997-02-14 06:13:50 +00:00
scottr
967e257614
Implement bus_space_alloc() and bus_space_free(), borrowed from i386.
1997-02-14 06:10:53 +00:00