jonathan
9c4be79d84
Clean up Ultrix compatiblity code: redo Ultrix label reading code
...
to have the same interface as native readdisklabel(), call it cleanly
from caller of readdisklabel(), and fix bug that left d_npartitions at 1
for ultrix-compat labels. Ultrix labels now actually work.
1995-07-14 01:05:22 +00:00
leo
14ac72899c
Add pppintr() to netintr().
1995-07-13 21:36:09 +00:00
mycroft
c57d78c71a
Indirect off the right vnode when looking up the struct union_mount in
...
union_access(). Also, a trivial change to union_rmdir().
1995-07-13 13:19:18 +00:00
pk
cdbe7b1bc5
Have esp_minphys limit transfers to MAXPHYS bytes.
1995-07-13 12:45:22 +00:00
pk
7ac7bdf204
Unlock internal objects too in vm_object_terminate().
1995-07-13 12:35:29 +00:00
pk
05daa72b3c
Move SUN4 console echo hack cnget() (from Chuck Cranor).
1995-07-13 12:02:19 +00:00
leo
8e01fc80af
Update raw-io functions as suggested by Charles.
1995-07-12 21:41:03 +00:00
cgd
0b469d4a12
add/change a few quirks:
...
(1) all Chinon CDS-431 CD-ROMs (regardless of revision)
are forced to only having LUN 0, at the suggestion
of Michael Hitch.
(2) _force_ searching of extra LUNs for the Emulex MD21/S2
ESDI bridge. It's pre-SCSI 1, but knows about LUNs.
"amazing." From Jason Thorpe.
(3) recognize an Emulex tape adapter in front of a QIC-36
tape, and have it forced to only LUN 0. This is
an odd one; vendor, name, and rev strings are all
spaces. Anything that mathes this is very likely
broken, anyway, so might as well give it a shot.
Again from Jason Thorpe.
1995-07-12 09:56:09 +00:00
cgd
d8fe81c04c
implement SDEV_FORCELUNS flag, as suggested by Jason Thorpe.
1995-07-12 09:43:29 +00:00
cgd
f60db5f02a
add a SDEV_FORCELUNS flag, as suggested by Jason Thorpe, to force
...
the SCSI code to look for LUNs on prehistoric (pre-SCSI 1) drives &
controllers, where normally it would not.
1995-07-12 09:42:00 +00:00
cgd
130c77c5a5
make this compile again, a la pr 1218 from Alistair G. Crooks, as whacked
...
by the style police.
1995-07-12 09:17:06 +00:00
cgd
6fa924cb38
fix struct member use, as explained in pr 1164. style police
...
beat the fix into submission.
1995-07-12 08:27:26 +00:00
cgd
f5bbdfba41
bdwrite() should upgrade writes to tape devices by sending them to
...
bawrite(). it's logically more correct (doesn't return an error code,
because it's async; bdwrite is also async), it still writes things
in-order, it makes sure the proper accountins is done (see the
wasdelayed cases in bwrite()), and it allows writes to vnodes on volumes
mountd with the MNT_ASYNC to be converted into delayed writes the way
God, err, Kirk intended. Convert synchronous bwrite()s on MNT_ASYNC
file systems to delayed writes.
1995-07-12 07:56:31 +00:00
cgd
9c3fe30d92
fix long-standing XXX in getblk(): NFS does funky things (somewhat
...
explained in comments), which can cause a race condition. amazingly,
the _only_ time i've ever seen or heard of this problem was in some
comments and sources by Rick Macklem, and when running against the
a DEC OSF/1 NFS server running on an Alpha.
1995-07-12 07:39:00 +00:00
jonathan
eac9104365
Add stubs for previously-undefined tzwrite(), tzread(), since the new
...
pmax conf.c references them. A cut-and-paste job from the pmax
rzwrite() and rzread(). tzwrite() and tzread() are utterly untested.
tzwrite() should also check for write-protect, or handle writes to a
write-protected tape gracefully.
1995-07-12 07:24:27 +00:00
thorpej
f72d54fa88
Zap duplicate RCS id.
1995-07-12 05:47:47 +00:00
leo
be029faea0
Use -O2
1995-07-11 21:28:38 +00:00
leo
b57f0c784d
Oops, this one is also needed to make dumping work.
1995-07-11 21:27:35 +00:00
leo
c98355931a
Remove some bogus comment.
1995-07-11 21:25:32 +00:00
leo
0343d208c4
Fix pseudo tty's
1995-07-11 21:24:29 +00:00
leo
b87c200b08
- Change character interface as suggested by Charles
...
- HD floppies really have 2 sides ;-)
- Cleanup drive/density selection
1995-07-11 18:32:07 +00:00
leo
2cad659038
Make DD/HD selection do anything sensible.
1995-07-11 18:27:31 +00:00
leo
a5b73613fc
Dumping works, now if there were tools to handle it...
1995-07-11 18:24:57 +00:00
jtc
a073b8c4f8
Move up #ifdef _KERNEL conditional up a few lines to enclose internal
...
msginfo struct/variable.
1995-07-11 18:16:20 +00:00
gwr
492a481622
Removed libc_sa, libnetboot
1995-07-10 23:14:46 +00:00
gwr
0604e38f2e
Nobody uses this anymore (all use ../libsa)
1995-07-10 23:09:30 +00:00
cgd
880567e771
fix from Onno van der Linden for large-file read timeouts on double-speed
...
drives. A different read command must be used on double-speed drives.
It boggles my mind that people could design hardware this stupid.
1995-07-10 01:27:24 +00:00
briggs
30c70a7c59
patch to handle cursor moves better. From Paul Goyette
...
(Paul@pgoyette.bdt.com )
1995-07-09 15:36:41 +00:00
cgd
5b671ea6a8
Morningstar SnapLink -> SDEV_NOLUNS, per Peter Galbavy in pr 1192.
1995-07-09 09:44:57 +00:00
cgd
21b6db23b7
play the alphabetization game
1995-07-09 09:43:07 +00:00
cgd
5a5eb678c9
QUANTUM P105S 910-10-94x A.3 -> SDEV_NOLUNS
1995-07-09 09:30:42 +00:00
pk
8274dc04d1
si scsi driver configs.
1995-07-08 21:33:48 +00:00
pk
89cb640a97
si scsi driver, adapted from sun3 version by Jason Thorpe.
...
Note: re-arranged to use dev/ic/ncr5380* MI files.
1995-07-08 21:32:47 +00:00
pk
c5ad4c85f0
ncr5380 chip definitions and MI part of driver.
1995-07-08 21:30:41 +00:00
briggs
fd69606246
Take out bogus message.
1995-07-08 12:39:12 +00:00
briggs
33cef0adfd
Clean up a lot. Run machdep.c through indent.
...
Remove a bunch of old debugging code and some dead code.
Put in some new comments. Need more.
1995-07-08 04:25:07 +00:00
cgd
21d1e8d60f
fix bug in load average calculation that prevented processes which were
...
uninterruptibly sleeping for a short period from being counted.
1995-07-08 03:12:22 +00:00
cgd
fd0f559215
add missing splx(), as suggested by enami@sys.ptg.sony.co.jp.
1995-07-08 00:42:45 +00:00
cgd
e574814605
insert missing call to splx() when {aha,bt}_send_mbo() returns null.
...
from enami@sys.ptg.sony.co.jp .
1995-07-08 00:34:16 +00:00
gwr
ca95fcc2e3
Put back SYMTAB_SPACE so the distributed kernels will have symbols when
...
loaded by the SunOS boot program. Our netboot works, but our ufsboot
still has a problem on the 3/260, so keep SunOS boot support for now.
1995-07-07 16:01:22 +00:00
brezak
4b4b3ee81a
Cleanup
1995-07-07 02:19:48 +00:00
brezak
dd3d2e28ed
Setup irq correctly (PR#1179)
1995-07-07 02:15:12 +00:00
brezak
0bdd4aa7c2
add support for cs4231
1995-07-07 02:11:45 +00:00
brezak
106dafc42e
Common splaudio and ISA_IPL_AUDIO
1995-07-07 01:58:04 +00:00
brezak
0589b5a222
Make mode a flag set. Full-dpulex fixes from John Kohl.
1995-07-07 01:52:30 +00:00
brezak
67dc53b92a
Add typedef for audio_prinfo_t (PR#1167), Change AUMODE_* to flags, and add new strings for mixer devs
1995-07-07 01:43:35 +00:00
briggs
3758e23b79
Add another routine for the grf display-specific drivers to return a physical
...
address.
1995-07-06 17:13:45 +00:00
briggs
e6992b3e60
Panic if we don't know how to relocate the video address.
1995-07-06 13:30:24 +00:00
briggs
84ee954356
Change NBSBASE to 0x90000000 and let it and NBSTOP be defined.
1995-07-06 13:25:30 +00:00
pk
576bc844e5
Support KIOC_GETLAYOUT, so other than US keyboards can be dealt with better.
1995-07-06 05:35:34 +00:00
briggs
d1d1fbc094
Put in a cast to make compiler happy.
1995-07-06 04:17:15 +00:00
briggs
0ae9938e56
Fix (last?) bug in the IIvx kludge.
1995-07-06 03:44:46 +00:00
cgd
479fb9e45b
add <sys/cdefs.h> inclusions. namsspace-protect physadr, label_t
...
def'ns against _POSIX_SOURCE and _ANSI_SOURCE.
1995-07-06 03:39:32 +00:00
briggs
6503666839
If SYMTAB_SPACE is defined, set esym to be the same as end.
...
Fixup my IIvx kludge again.
1995-07-06 02:32:13 +00:00
briggs
f3274364d4
Fix a bug I introduced earlier.
1995-07-06 00:28:32 +00:00
pk
12bdf1b787
KNFify a bit.
1995-07-05 19:55:02 +00:00
gwr
090fdb11cf
Do not advance esym if the SYMTAB_SPACE option is set.
1995-07-05 19:36:48 +00:00
gwr
2d867f9de5
SUBDIR=stand
1995-07-05 19:04:23 +00:00
pk
41d3ba8d49
Commit to MACHINE_NONCONTIG.
1995-07-05 18:52:32 +00:00
pk
b8065a4244
remove a db_printf() that has been there for too long.
1995-07-05 18:51:41 +00:00
pk
10a0b4b79e
Prototype pmap_dumpsize() and pmap_dumpmmu().
1995-07-05 18:45:46 +00:00
pk
a796c37169
Re-arrange dumpconf() and dumpsys().
1995-07-05 18:40:50 +00:00
pk
b34c403839
#define MACHINE_NONCONTIG here, so all vm_*.c files see it timely.
1995-07-05 18:04:48 +00:00
pk
50755a7cc5
typos.
1995-07-05 17:53:41 +00:00
pk
8a8842dc58
remove __BDEVSW_DUMP_OLD_TYPE
...
#include <sys/cdefs.h>.
1995-07-05 17:46:11 +00:00
christos
3a1e063118
Make the macro botch fix more palatable.
1995-07-05 17:08:54 +00:00
pk
337522fb97
Move dumpmmu() over here.
1995-07-05 16:35:42 +00:00
pk
c39b37a262
xd declarations.
1995-07-05 15:53:22 +00:00
pk
9013a7a6e2
Add xxread/xxwrite.
1995-07-05 13:34:10 +00:00
pk
cde4f269ae
Start using sunos_sigvec().
1995-07-05 13:14:09 +00:00
pk
426fb108d1
Brutally work around a macro botch.
1995-07-05 13:07:12 +00:00
pk
deb17b0f15
make this compile better....
1995-07-05 13:06:33 +00:00
ragge
e0ebe6c93d
(some) support for DDB disassembly added.
1995-07-05 09:54:07 +00:00
ragge
620027e37d
Null pointer were referenced if signal occurred before first
...
syscall. Didn't hurt on 4.3 Reno binaries.
1995-07-05 08:39:48 +00:00
ragge
a237052e3a
DDB needs writable kernel text.
1995-07-05 08:36:37 +00:00
ragge
761fc3ae0f
Bug causing null pointer mscp buffer reference fixed. Thanx, Rick Macklem!
1995-07-05 08:34:01 +00:00
ragge
26c6819bfc
mscp_requeue() should work now.
1995-07-05 08:31:38 +00:00
ragge
426274c2a6
rx, rl and kdb needed cdev_decl's.
1995-07-05 08:30:41 +00:00
ragge
0e60bcde3a
Calling of pppintr() included.
1995-07-05 08:29:27 +00:00
ragge
dc2461e35c
uda/tmscp read/write added.
1995-07-05 08:24:45 +00:00
ragge
5ad69f2c9d
nton?/ntoh? moved to endian.h.
1995-07-05 08:22:21 +00:00
ragge
25e4dd61b5
Changes due to common network code mods.
1995-07-05 08:19:05 +00:00
ragge
1ab8219384
DDB file added.
1995-07-05 08:17:16 +00:00
ragge
7d58080faf
More near reality.
1995-07-05 08:15:25 +00:00
briggs
e11c8dfd4c
Stupid programmer error in IIvx kludge.
1995-07-05 03:48:45 +00:00
mycroft
9624704e02
Make each disk and tape driver define its own read and write functions.
...
Deprecate rawread() and rawwrite() completely. Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-05 02:32:53 +00:00
chopps
07d9670a6c
remove indirect use of strategy which brok with recent changes
1995-07-05 02:12:38 +00:00
paulus
fdb27420ea
Change $Id to $NetBSD
1995-07-04 23:26:10 +00:00
paulus
8f120b82c6
Add definition for NETISR_PPP.
1995-07-04 23:24:07 +00:00
christos
87b62763ae
Add a few more sockio ioctls... Now sunxdoom is running!
1995-07-04 23:00:11 +00:00
christos
38f1964478
Fix bug in the KGDB trap definition. Add svr4 software traps.
1995-07-04 22:58:51 +00:00
christos
1fc6525f9b
trap.c: Add svr4 software traps. Fix bug in errno mapping.
...
svr4_machdep.c: Add siginfo translation (from mrg), add some software traps.
1995-07-04 22:57:33 +00:00
christos
c07ddb7c1d
Added sockioctls... Only getifnum supported for now.
...
Added SVR4_EMT_TAGOVF, needed by new machdep translations.
1995-07-04 19:46:58 +00:00
briggs
38031d912a
First cut at a kludge for IIvx internal video.
1995-07-04 18:55:11 +00:00
chopps
f1e1796cf4
misc cleanup, better tty alloc for mfc. from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-07-04 18:06:40 +00:00
briggs
61405ee181
Use the right prototype for pppioctl().
1995-07-04 15:30:39 +00:00
briggs
6d08320888
Move SCSIBase from scsi.c.
1995-07-04 14:42:16 +00:00
briggs
2e4f1e0daa
Update a bit.
1995-07-04 14:38:49 +00:00
briggs
2510a4f689
A few nits.
1995-07-04 14:38:34 +00:00
paulus
a8adf7421b
Add code to netintr to call pppintr.
1995-07-04 12:37:42 +00:00
paulus
374a7cc9cb
Add code to soft01intr to call pppintr.
1995-07-04 12:34:37 +00:00
paulus
08b7596c51
Add code to interrupt to call pppintr.
1995-07-04 12:22:21 +00:00
paulus
da3602a73e
Add code to softnet to call pppintr.
1995-07-04 12:19:07 +00:00
paulus
1513342690
Add code to netintr to call pppintr
1995-07-04 12:14:32 +00:00
pk
63eeefb6cd
make this compile better.
1995-07-04 10:29:22 +00:00
mycroft
7263209ce6
Make each disk and tape driver define its own read and write functions.
...
Deprecate rawread() and rawwrite() completely. Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
mycroft
9fbf4d6f47
Make hardware interrupts always block all software interrupts.
1995-07-04 07:09:53 +00:00
paulus
f3285c2e0e
Add call to pppintr in softnet.
1995-07-04 07:00:47 +00:00
paulus
b41c6a7d1c
Add call to pppintr from netintr.
1995-07-04 06:54:52 +00:00
paulus
c9a82bdc54
Add code for netintr to call pppintr if PPP is included.
1995-07-04 06:51:05 +00:00
mycroft
eb99dcc09a
Fix a condition where ttywait() wouldn't be woken up. Also, short-circuit
...
the case of no pending input in compoll().
1995-07-04 06:47:18 +00:00
paulus
69f3d14493
Include extra files for the new PPP stuff.
1995-07-04 06:42:19 +00:00
paulus
7f06ab8b0b
Latest version of PPP stuff, with packet compression and other
...
improvements. The PPP kernel code is now split into if_ppp.c,
containing generic PPP support, and ppp_tty.c, which specifically
supports PPP on async tty devices (as a line discipline). This is
so that other devices can be supported without making them look
like ttys.
1995-07-04 06:28:17 +00:00
briggs
f92d7eb51f
Clean up some types.
1995-07-04 03:34:09 +00:00
briggs
4d6ed092f1
Fixup a comment.
1995-07-04 03:30:11 +00:00
fvdl
059661a991
Fix totally bogus implementation of a few fcntl() calls. I think I'll go
...
live on a deserted island now..
1995-07-03 21:33:59 +00:00
leo
d9019191a0
NetBSD/Atari keyboard mappings
1995-07-03 20:49:40 +00:00
mycroft
083ba962e2
Oops; need fcntl.h.
1995-07-03 16:58:38 +00:00
gwr
0a035e5e9f
Can not use htonl() in static initializers. (Fixes PR 1188)
1995-07-03 04:56:33 +00:00
gwr
2d83203f6a
Build all RPC requests with AUTH_UNIX (thanks to Chuck Silvers)
1995-07-03 02:59:16 +00:00
gwr
365e8c62da
Remove temporary hack (now merged into src/sys/lib/libsa)
1995-07-03 02:56:52 +00:00
gwr
5cd60330a9
Remove temporary hack (../libnet)
1995-07-03 02:53:55 +00:00
gwr
c4746effe0
Correct !DDB console abort (thanks to David Brownlee)
1995-07-03 02:52:13 +00:00
mycroft
9a4505cb89
Close routines take file flags, not I/O flags. Fix two incorrect usages.
1995-07-02 18:13:02 +00:00
mycroft
2dadf2f086
Simplify some conditionals.
1995-07-02 16:10:40 +00:00
mycroft
839598dfec
Make spec_read() and spec_write() vaguely consistent.
1995-07-02 07:20:50 +00:00
christos
ed63c665eb
- make svr4_break() identical to obreak(). We still keep the code here,
...
to do some more testing.
- add POSIX.4 sysconfig options [we don't support them, but we don't
return EINVAL too]
- More kludges in the interpeter load address. I hope I escape the kludge
police...
1995-07-02 06:16:06 +00:00
christos
e7dcefc56c
Add the svr4 network cloning devices. Now telnet(1) works too. There are
...
still problems with X-windows programs.
1995-07-02 06:13:27 +00:00
briggs
1040af3492
Add missing interface for getting a grfmode structure from kernel.
1995-07-02 05:26:27 +00:00
briggs
ed434b457d
Fix grfmap() as well as grfmmap().
1995-07-02 00:49:52 +00:00
briggs
932a8fc9af
Set and use new fboff element from grfmode structure.
1995-07-02 00:30:25 +00:00
briggs
af7f31e30a
Add a couple elements to the grfmode structure.
1995-07-02 00:29:03 +00:00
mycroft
f4b5f723e0
Remove references to if_addrlist.
1995-07-02 00:16:00 +00:00
christos
45d46cb0c9
svr4_machdep.c: Fix {get,set}context and sendsig.
...
locore.s: add signal trampoline code for svr4. There is a lot of code
duplication there. Maybe we should share the code?
SVR4 status now:
/bin/sh: works
/bin/ls: works
/bin/sleep: works
/bin/csh: gives unknown software trap 0xa7
/bin/ldd: works
1995-07-01 23:55:31 +00:00
christos
294f607d50
Fix alignment of svr4_getdents, so that it works for solaris2.4/sparc
1995-07-01 23:42:54 +00:00
briggs
3401cca400
Fix buglet that was missed when converting nubus to non pa==va mapping.
1995-07-01 23:40:38 +00:00
briggs
303845a487
Remove this define--we're using the new dump type.
1995-07-01 18:47:51 +00:00
briggs
eec2d38c71
Take out ncr96scsi0.
1995-07-01 16:35:54 +00:00
briggs
36654b75d9
Use flags for scsi interrupts. clean up a small bit.
1995-07-01 16:35:16 +00:00
briggs
175a1e27f4
add needs-flag for the scsi chip interfaces.
1995-07-01 16:28:13 +00:00
cgd
5b435dbf05
null mbuf pointer could cause system crash; avoid it. From
...
Torsten Duwe <duwe@immd4.informatik.uni-erlangen.de>.
1995-07-01 03:44:55 +00:00
gwr
38c03f8581
Add ${LIBKERN} ${LIBCOMPAT} to SYSTEM_DEP so they are built.
...
Move ${DEBUG} from ${CC} to ${CFLAGS} for compatibility.
1995-07-01 00:51:15 +00:00
briggs
12ab0410c7
Clean up a tad.
1995-06-30 05:25:41 +00:00
briggs
fcde92bcba
Fix straytrap(). Update a few values in the ROM table.
1995-06-30 05:25:01 +00:00
briggs
5fced13f51
Ooops.
1995-06-30 05:23:03 +00:00
briggs
705e6bd12b
Fix oversight.
1995-06-30 05:21:33 +00:00
christos
6b27eeffbc
Don't make libkern.
1995-06-30 03:00:33 +00:00
christos
1654fca494
Remove unused define
1995-06-30 02:57:20 +00:00
briggs
29bb03860c
Option key fix from Ken Nakata (kenn@remus.rutgers.edu).
1995-06-30 01:23:21 +00:00
cgd
3748c1aef7
try to insure that the 'default' address for shm segments is the same
...
from process to process. It apparently is on SysV systems, and some
programs depend on this. Suggested by John Birrell <jb@werple.mira.net.au>.
1995-06-29 11:43:17 +00:00