gwr
ecd43c7870
Request the "gateway" parameter and use its contents
...
to determine our gateway and subnet mask, consistent
with what is done by nfs_mountroot.
1997-12-10 20:19:00 +00:00
drochner
fbe83dc02d
Install "pcvt_ioctl.h" by normal "make includes".
1997-12-10 14:14:21 +00:00
leo
18d2ccf637
Add '-H' option for writing High density floppies.
1997-12-10 09:32:35 +00:00
thorpej
c40f4eb3cc
Implement tcp_drain().
1997-12-10 01:58:07 +00:00
christos
badc0e40aa
PR/2733: Bill Sommerfeld: route change command can crash system. Actually
...
the case mentioned in the PR was fixed as part of PR/2582. There was a similar
case though that was not handled as part of my initial fix, which was fixed
in FreeBSD. I applied the remaining part from FreeBSD and the code matches
now the FreeBSD respective version. [this probably should be pulled up for 1.3]
1997-12-10 00:47:57 +00:00
sakamoto
b60acd2843
fix to get the right irq
1997-12-09 23:33:17 +00:00
gwr
e0170ea83c
Remove local definition of DEBUG (left there by accident).
1997-12-09 22:29:01 +00:00
gwr
1e1b53cba9
The ie_reset function needs to turn off loopback mode.
...
(Remember the TDR complaint: short X clocks away?
that was because the chip was in looback mode! 8)
1997-12-09 22:25:42 +00:00
thorpej
eae709d885
Costmetic change: use intotcpcb() in tcp_fasttimo().
1997-12-09 21:59:17 +00:00
tv
a7d1d15c39
KMEMSTATS is documented in options(4) as being a possible severe
...
performance hit, and on an 80386 processor, it most certainly is. Pull it
from the GENERIC (and DISKLESS "generic") kernels--configure it in
yourself if you actually need it.
1997-12-09 13:32:32 +00:00
gwr
2e40be26b8
The ie_reset function needs to turn off loopback mode.
...
(Remember the TDR complaint: short X clocks away?
that was because the chip was in looback mode! 8)
1997-12-08 21:49:50 +00:00
gwr
ec9abe23be
Several fixes. This version actually works!
1997-12-08 19:22:52 +00:00
gwr
1a340a5921
Fix missing newline in attach
1997-12-08 19:19:25 +00:00
gwr
c497f2ca2b
Define the interrupt vector registers as 16-bit fields as
...
shown in the documentation. (Thanks to Michael Thompson)
1997-12-08 19:17:12 +00:00
thorpej
b27ebeeac1
Work-around the situation where the buffer cache is larger than
...
16M, thus eating up all candidate bounce pages, which are not allocated
until autoconfiguration runs, by deferring allocation of the buffer
cache pages until after autoconfiguration has run.
XXX This is safe because the i386 port doesn't read any disklabels
XXX during autoconfiguration.
1997-12-08 05:07:29 +00:00
fvdl
be205fedc0
Define constants for the start and end VA of user page tables.
1997-12-07 21:30:11 +00:00
fvdl
4357e617d2
When getting a pagefault for a PT page, wire it. Normally we fault them in
...
ourselves, but this can still happen on a 386 in copyout & friends.
Fixes pmap_changebit panics seen on 386s. Thanks to Juergen Hannken-Illjes
for providing detailed info on bug occurances.
1997-12-07 21:28:56 +00:00
scottr
39aac67f16
Fix prototypes so that we can compile without DDB. Closes
...
PR 4633.
1997-12-07 17:47:47 +00:00
thorpej
0ac93f48ea
Use malloc()/free(), not geteblk()/brelse(), for the device buffer.
1997-12-07 16:09:36 +00:00
thorpej
d25c266af2
Use malloc()/free() for the temporary buffer, not geteblk()/brelse().
1997-12-07 16:06:21 +00:00
thorpej
6e39ad36a6
In pccngetc(), don't treat cn_tab->cn_dev as a valid device number until
...
it's initialized.
1997-12-07 06:20:44 +00:00
scw
ea4e9ca4f6
Doh! 'avail_end' is a physical offset, not a page number!
1997-12-06 20:29:59 +00:00
scottr
ee70fa750a
Shades of rev 1.13: Really, we shouldn't call Debugger() if we
...
haven't got ddb in the kernel. Fixes PR 4632.
1997-12-06 19:41:46 +00:00
mhitch
cc997082a5
Someone forgot to update db_tlbdump_cmd() when adding the printf routine
...
to the TLB dump routines arguements. Machines would die horibbly when
trying to dump the TLB entries in DDB. Also don't explicitly "page" the
output, since db_printf takes care of that.
1997-12-06 19:19:07 +00:00
scottr
73a00edbd6
PR 4078: Enabling the SCSI IRQ interrupt to allow reselects to work
...
causes the MI interrupt handler to barf when we get a 5380 RST interrupt
while probing. Worse, the VIA latches the interrupt, so simply having
all interrupts disabled during autoconfig doesn't resolve the problem.
[I demonstrated the latter on a IIci, which erroneously reports a
reselection attempt(!) after autoconfig is complete. The latched
interrupt results from the SCSI bus reset we do when initializing the
bus.]
Since interrupts must be enabled during autoconfig anyway (sigh), test
to see if autoconfig has completed in sbc_irq_intr(). If not, we don't
pass the interrupt up to the MI interrupt handler. Also, make sure to
clear the VIA interrupt if we're servicing an unclaimed 5380 RST
interrupt.
Thanks to Bill Studenmund for providing the key insight needed to unlock
this problem.
1997-12-06 18:53:30 +00:00
chuck
d76941843e
fix mixer code that was clearly untested:
...
- allow get/set of enums SUNAUDIO_SOURCE and SUNAUDIO_OUTPUT rather
than returning EINVAL
- add missing SUNAUDIO_MONITOR_CLASS case in query_devinfo
- convert SUNAUDIO_MONITOR case from a MIXER_CLASS to a MIXER_VALUE
like it is supposed to be
- the labels for outputs/record class were swapped: fix it
this patch allows "mixerctl" to work properly on a sparc
1997-12-06 03:20:56 +00:00
mjacob
fd208bedb2
Rev up to 1.09 FC f/w, but keep 1.07 around- 1.09 is a little strange.
1997-12-05 19:42:32 +00:00
mjacob
5ff1a34bba
Add a new async notification, and also fix a bug where the queue entry
...
wasn't getting fully zeroed as it should be.
1997-12-05 19:41:49 +00:00
mjacob
62ac2ff851
new async code defined
1997-12-05 19:40:35 +00:00
tv
0a558b3f1f
Standardize COMPAT_SUNOS -- remove all references to
...
sunos_exec_aout_makecmds() in machdep.c for various architectures and put
it in exec_conf.c like the other emulations; rename exec.h to
sunos_exec.h.
1997-12-04 15:33:17 +00:00
leo
9d09eab68e
Preserve the bootflags in the processor-type test (== make the loader
...
work again for the TT030).
1997-12-04 07:39:05 +00:00
mjacob
40ef7dd007
handle case of no keyboard configured
1997-12-03 22:32:05 +00:00
thorpej
27899a4858
Don't conditionalize STACKGAPLEN on COMPAT_*. Darn near everything uses
...
it now (including compat system calls for previous NetBSD releases),
and it doesn't hurt anything to always initialize it to non-zero.
1997-12-03 20:02:29 +00:00
briggs
16b71d1871
Thanks to Paul Goyette <paul@whooppee.com> for a patch to clear the
...
interrupt properly on a SuperMac Spectrum/8 Series III, and thanks
to Dan McMahill for loaning the card to Paul.
I modified Paul's patch somewhat to change grfmv_intr_generic_{1,4}
to grfmv_intr_generic_write{1,4} and added grfmv_intr_generic_or4 to
handle this card.
1997-12-03 03:05:02 +00:00
augustss
a908b2b30e
Fix three problems spotted by mycroft:
...
- Closing the audio device should stop recording.
- Manipulating the pause function could accidentally start playing or recording.
- AUDIO_FLUSH could accidentally start playing or recording.
1997-12-03 01:01:19 +00:00
mjacob
d90bb02e10
oops on a comment- it is 1.07 FW, not 1.05
1997-12-03 00:45:05 +00:00
gwr
d4ff9e0143
Remove the broken trap recursion check (#if DEBUG)
1997-12-02 23:41:30 +00:00
gwr
b3701f21ea
Kill some noise from -DDEBUG
1997-12-02 20:42:13 +00:00
gwr
7c95ede823
Kill some noise from -DDEBUG
1997-12-02 19:48:45 +00:00
pk
1743d97bd7
Pull over fixes from vm_swap.c:
...
- guard against synchronous I/O completion
- avoid race conditions
- use bgetvp/brelvp to properly maintain the vnode holdcount
and clean/dirty buffer lists.
1997-12-02 13:54:48 +00:00
pk
5d1352c448
Guard against synchronous I/O completetion per swap-device.
1997-12-02 13:47:37 +00:00
mycroft
187df9b86e
Set the gain to 1/2 by default; 3/4 is too loud and can damage headphones and
...
speakers.
1997-12-02 13:17:39 +00:00
bouyer
2f8f801256
The iy driver now uses if_media (it was the last one, at last for i386, to use
...
the historical link? flags for media select)
XXX No pullup request for this. But if sysinst supports explicit media
XXX selection in 1.3, this should be in 1.3 as well.
1997-12-02 09:34:03 +00:00
mikel
60d209bff0
add ID for "Best Data Products Smart One 336F"; Dave Huang <khym@bga.com>
1997-12-02 06:10:45 +00:00
mikel
ebdfbf958e
fix typo; from Dave Sainty in PR kern/4602
1997-12-02 03:57:54 +00:00
sakamoto
52596506c7
Add NetBSD RCS Ids. Remove #if 0-#endif.
1997-12-02 01:20:30 +00:00
pk
b1f869ef45
Use `busdma' macros.
1997-12-01 23:25:37 +00:00
mjacob
f4b09b4771
fixme: still need a __BROKEN_INDIRECT_CONFIG case
1997-12-01 18:47:01 +00:00
pk
1736bb9de8
Make the code a bit more readable.
1997-12-01 17:10:48 +00:00
kleink
bb7bb0093d
Add COMPAT_13.
1997-12-01 16:33:39 +00:00
pk
d4a6f93147
Make sure the damned buffer heads are initialized...
1997-12-01 16:33:15 +00:00
kleink
eefde8bdcd
Add COMPAT_13.
1997-12-01 16:31:29 +00:00
kleink
28e0cf0693
Add COMPAT_13.
1997-12-01 16:02:09 +00:00
kleink
c87631771e
Add COMPAT_13.
1997-12-01 14:52:51 +00:00
sakamoto
e9be44bb8d
add bus_space_subregion macro.
1997-12-01 07:11:34 +00:00
sakamoto
80f65cc8ed
use dev/isa/isa.c instead of bebox/isa/isa.c
1997-12-01 07:10:14 +00:00
sakamoto
38d8db93cf
cleanup disused extern declaration.
1997-12-01 07:01:52 +00:00
scottr
4be1bd1115
Correct a comment from previous commit.
1997-12-01 06:07:33 +00:00
mjacob
0e9ef018df
more putz cleanup: I dunno if this works (fixing syntax, not checking semantics)
1997-12-01 06:04:23 +00:00
scottr
355a8bbccd
We don't do old-style miniroots anymore.
1997-12-01 05:51:51 +00:00
scottr
fe3d2d5633
Make grfdebug a patchable variable, and default to no debugging messages.
...
Noticed by Hauke Fath.
1997-12-01 05:40:39 +00:00
mjacob
b52361ff54
add missing COMPAT_13 that kleink putzed
1997-11-30 23:18:59 +00:00
christos
4e3168d176
Make this work again. KNF.
1997-11-30 20:03:15 +00:00
veego
de86e7d596
Regen.
1997-11-30 18:08:01 +00:00
veego
02444cbd23
Change syscall table to use the 1.3 compatibility sigaltstack() function
...
(fix from kleink).
1997-11-30 18:06:39 +00:00
drochner
9d7d537acb
Clean up usage of printf() vs db_printf(): The diagnostic messages
...
when symbol tables are loaded don't belong to the user interaction,
their output lines should not be counted by ddb's builtin pager.
1997-11-30 15:49:34 +00:00
drochner
123570c713
fix inconsistent declaration in non-"__BROKEN_INDIRECT_CONFIG" case
1997-11-30 15:32:25 +00:00
drochner
805c7b6bc0
make it compile without "__BROKEN_INDIRECT_CONFIG"
1997-11-30 15:31:23 +00:00
drochner
4da2344b18
fix inconsistent declaration in non-"__BROKEN_INDIRECT_CONFIG" case
1997-11-30 15:24:59 +00:00
drochner
c7e3c24d53
make it compile without "__BROKEN_INDIRECT_CONFIG"
1997-11-30 15:18:58 +00:00
drochner
301a6046c8
fix argument declaration inconsistency in the
...
non-"__BROKEN_INDIRECT_CONFIG" case
1997-11-30 15:16:55 +00:00
drochner
8e7686a76b
make it compile without "__BROKEN_INDIRECT_CONFIG"
1997-11-30 15:13:30 +00:00
briggs
343e078b95
Add extra FWB driver partition and Apple ATA driver partitions to the list
...
of partition type that we recognise and skip when filling the fake
disklabel.
1997-11-30 04:46:59 +00:00
briggs
8e1428e600
Support for the Lapis ProColorServer 8 PDS on the SE/30. This prevents
...
hangs when trying to use this video card in conjunction with an ethernet
card. Thanks to David Condon <david@apk.net> for information and testing.
1997-11-30 01:02:44 +00:00
kleink
5f6a03cb5b
Regen.
1997-11-29 18:43:25 +00:00
kleink
5d7a8f4a16
Modify the recent sigaltstack() interface change to use the __RENAME() scheme;
...
add __sigaltstack14().
1997-11-29 18:38:20 +00:00
pk
46f604677d
Avoid several race conditions, especially when a transaction ends in error.
...
Guard sw_reg_start() against synchronous completions of the device
strategy routines, avoiding possibly boundless recursion.
1997-11-29 00:35:43 +00:00
mhitch
f018043286
Fix driver bug when using an RZ23 (and very likely any other drive that
...
does a "restore data pointers" when reselected after disconnecting in
the middle of a DMA transfer). The driver needs a different way to know
which script to continue the DMA transfer. The message-in for the "restore
data pointers" loses the original "resume" script, and the driver would
attempt to continue the DMA transfer at the beginning of the current DMA
chunk, rather than at the point the disconnect occured. The result was a
spurious console message, and a trashed filesystem.
1997-11-28 18:23:38 +00:00
darrenr
9fd3093f39
don't free pointer to static struct. please pullup.
1997-11-28 00:46:39 +00:00
jonathan
4d03a7d4d0
Fix typo in bus_space_barrier definition. See PR 4488.
1997-11-28 00:33:53 +00:00
mhitch
c9d1ca0df4
delay() is using calculated timing, so correct the delay during polled
...
SCSI wait to get a more accurate timeout.
1997-11-27 22:43:44 +00:00
fvdl
766487d941
Too many vnode ops were marked as bad op, but could happen in practice.
...
Change them to genfs_eopnotsupp.
1997-11-27 20:36:05 +00:00
mrg
3300e3e43e
fix compile error when "options IPNOPROVPORTS"
1997-11-27 14:03:32 +00:00
bouyer
d45f82208d
Add a cpu_setup() function to "struct cpu_nocpuid_nameclass" and
...
"struct cpu_cpuid_family", so that we can have a cpu_setup function per
known cpu type. For now use it only for cyrix 6x86 to enable suspend-on-halt
and implement cyrix's workaround to the "coma bug".
1997-11-27 11:53:45 +00:00
sakamoto
972dc0b4d6
remove/import software interrupt model and external interrupt handler
...
from OpenBSD/powerpc.
move bus_space_* from bus_machdep.c to bus.h.
1997-11-27 10:17:45 +00:00
fvdl
b3de97c5c1
Revert I486_PCI_MEM_ENABLED change; it caused too many problems.
1997-11-27 10:10:50 +00:00
fvdl
4ee07a6d65
Revert I486_PCI_MEM_ENABLED change, it caused too many problems.
1997-11-27 09:58:26 +00:00
sakamoto
771073b8ce
keep compile dir.
1997-11-27 09:48:18 +00:00
mjacob
e908c01f7e
If not defining SUN4M, you still have to do something with has_iocache.
1997-11-26 22:11:53 +00:00
matthias
d4150bfec4
Do not include vm/lock.h. It does no longer exist.
1997-11-26 21:26:44 +00:00
cgd
16adf69ae8
add some "find | xargs chmod"s to the includes target, like were in
...
the old include/Makefile, so that installed system headers have
correct permissions.
1997-11-26 17:25:10 +00:00
scottr
9cc64880e9
Major reorganization, based largely on the i386 GENERIC. This moves all
...
bus and device configuration out of std.mac68k, as well.
1997-11-26 07:23:20 +00:00
scottr
805d1043a6
Don't attempt to open the ADB device if it hasn't been initialized.
...
Also, don't allow more than one instance to be configured.
1997-11-26 06:28:50 +00:00
briggs
2241e4220c
Only scan MAXPARTITIONS entries for a free partition table entry.
1997-11-26 04:18:20 +00:00
briggs
62ebaeb91b
Ignore FWB Component and Apple_Driver_ATA partition types, too.
1997-11-26 04:14:07 +00:00
mjacob
549ecbd70a
make SCSIVERBOSE default
1997-11-26 03:13:53 +00:00
mjacob
61f3754047
add SYSVMSG and SYSVSEM to GENERIC kernel
1997-11-26 03:13:12 +00:00
gwr
6c7f015fc8
The calculation of dumpsize was incorrect. It is the size of
...
the raw memory part of the dump (not including the headers).
1997-11-25 22:38:41 +00:00
kleink
08ca830d3b
Regen again to reflect correct syscalls.master version.
1997-11-25 21:10:48 +00:00
scottr
952c244eab
In iteoff()/iteon(), don't try to do anything if we haven't
...
initialized the ite.
1997-11-25 20:56:13 +00:00