gwr
73d4eba4cf
Only allow mmap in "managed" RAM for now.
1995-08-08 21:09:01 +00:00
gwr
fafc2a527a
Fix signed/unsigned comparison in dumpconf().
1995-08-08 21:07:52 +00:00
gwr
106e4e8c4a
Fix "oops" line that was supposed to increment tv_usec
...
(just to make sure time keeps moving 8^)
1995-08-08 21:05:48 +00:00
gwr
dac3687c31
Make it work with obj dirs. (from Jason Thorpe)
1995-08-08 21:02:04 +00:00
gwr
7eda63e726
Get rid of libnet
1995-08-08 21:00:00 +00:00
gwr
b090a64678
Add bcea[] here now that is is gone from arp.c
1995-08-08 20:59:07 +00:00
gwr
59078e8a4b
Cosmetic (fix order)
1995-08-08 20:57:51 +00:00
gwr
239821855f
Add default value for SHMMAXPGS (from Jason Thorpe - fixes PR#1220)
1995-08-08 20:56:45 +00:00
gwr
c96c328a9d
Use old-style function definitions (like the sparc driver).
1995-08-08 20:54:08 +00:00
gwr
2a3eef935e
Improve handling of a device that "sits on" the bus (from Jason Thorpe)
1995-08-08 20:53:16 +00:00
gwr
9ede017ccb
Set TIMEZONE=0, DST=0 (which is correct for the hardware clock).
1995-08-08 20:51:26 +00:00
gwr
19969f2fe2
Use RPCAUTH_UNIX in requests to please picky NFS servers.
1995-08-08 20:43:43 +00:00
thorpej
0b486f9aa0
Add bounds_check_with_label().
1995-08-08 06:23:08 +00:00
mycroft
e4413d1a10
Fix another comment.
1995-08-07 14:26:51 +00:00
mycroft
f657f5bf3e
Make this interface simplex. It's more efficient, and sidesteps the
...
problem of receiving our own multicasts in promiscuous mode. Also, fix
some outdated comments.
1995-08-07 14:16:26 +00:00
jonathan
19e02269b2
New-style config (config.new) autoconfiguration code for Decstation
...
turhsturbochannel machines. Lifted wholesale from cgd's Alpha
turbochannel code, with changes that reflect the slightly different
bus topology and `slot' numbering on Decstations.
1995-08-07 07:07:43 +00:00
mycroft
8e77047f2c
Make new-style core dumps.
1995-08-07 06:13:57 +00:00
mycroft
bc59b73733
Merge npxinit() into npxdna(), and remove duplicated code.
1995-08-06 19:48:58 +00:00
mycroft
b725d8b30b
Update the comment describing how this works.
1995-08-06 19:31:49 +00:00
mycroft
3c20501d57
Clear MDP_USEDFPU on exec. Set it in process_write_fpregs() unconditionally,
...
for the benefit of the emulator.
1995-08-06 19:01:14 +00:00
mycroft
ef504e724d
Fix oversight in previous.
1995-08-06 18:05:22 +00:00
mycroft
764d69bf8e
Make process_write_fpregs() safe.
1995-08-06 18:02:22 +00:00
mycroft
d730fead60
Eliminate direct uses of curproc in npxdna() and npxinit().
1995-08-06 17:59:10 +00:00
mycroft
0affdcf4d8
Pass curproc to npxdna().
1995-08-06 17:54:35 +00:00
mycroft
ccdf6ac81b
Change le0 iosiz.
1995-08-06 16:14:29 +00:00
mycroft
a326c49adf
Stop using cr0 to flag that the FPU has not been used.
1995-08-06 06:05:28 +00:00
mycroft
ce7cc0c18a
Move the `used fpu' flag into mdproc, so it can be referenced when a process
...
is swapped out. Implement process_{read,write}_fpregs.
1995-08-06 05:32:59 +00:00
briggs
3b5979d56c
Remove cpu040 use from here. It should only be used at boot time.
...
Take out old method for determining load address for IIci/si.
Set all but IIsi/ci to use a clock initialization value of 115200 (not
the baud rate... ;-).
1995-08-06 04:39:56 +00:00
mycroft
92637a6d42
Add another Seagate disk to the list, and make all the disks match any
...
firmware revision.
1995-08-06 00:04:00 +00:00
mycroft
6567855472
Count collisions and errors better.
1995-08-05 23:53:18 +00:00
mycroft
82b6eec41c
Use an intermediate variable to shorten label initialization code.
...
Make wddump() work on more machines.
1995-08-05 23:50:23 +00:00
mycroft
24a5e56396
Use an intermediate variable to shorten label initialization code.
1995-08-05 23:47:52 +00:00
mycroft
61d9ac2bb7
Remove vnode_if.[ch] when cleaning.
1995-08-05 23:39:41 +00:00
leo
3f76d2e7eb
Add disklabel support. In addition to the 'faked' disklables NetBSD/Atari
...
now also supports native NetBSD labels. When a NetBSD label is found it
overrules the Atari AHDI-partitioning.
1995-08-05 20:24:16 +00:00
thorpej
b56fc99724
Catch up with an include file change I missed before.
1995-08-05 16:47:34 +00:00
thorpej
0f77910137
Add and document a `kern.rawpartition' sysctl.
1995-08-04 18:36:08 +00:00
thorpej
1773fd4286
Kernel configuration file for my hp380.
1995-08-04 08:26:52 +00:00
thorpej
6143739a03
Acknowledge the Archive Viper 60 tape. Fixes pr-863.
1995-08-04 08:17:43 +00:00
thorpej
fc1f217977
Update for conf.h changes.
1995-08-04 08:12:57 +00:00
thorpej
62572d6658
Kill bogus if_addrlist check.
1995-08-04 08:08:41 +00:00
thorpej
89e7efa8d1
Zap compiler warnings in the check for a trace trap.
1995-08-04 08:06:27 +00:00
thorpej
4313e3aa62
Make the boot blocks compile (and work!) again.
1995-08-04 07:55:34 +00:00
thorpej
be13d8f6bf
Spring cleaning.
1995-08-04 07:40:31 +00:00
thorpej
9800370998
Fix off-by-one error when padding text segment.
1995-08-04 07:37:03 +00:00
briggs
110cf98100
Get rid of int_video_{start,length} and wierd nubus mapping.
1995-08-04 03:21:46 +00:00
briggs
70065c2ed5
Nuke int_video_start in favor of consistent use of mac68k_vidlog.
...
Don't find the internal video more than once.
Probe for internal video before nubus instead of after.
1995-08-04 02:55:06 +00:00
briggs
fb5e0a34bb
Be consistent and use mac68k_vidlog instead of int_video_start.
1995-08-04 02:47:31 +00:00
jonathan
28c5634912
Add dk_establish() and bounds_check_with_label(), from the alpha port, for
...
the machine-independent SCSI driver. Untested.
Only print diagnostics about reading Ultrix labels when DIAGNOSTIC is defined.
1995-08-04 02:34:24 +00:00
jonathan
c4f9523535
Fix cut-and-paste error in device order (clock).
1995-08-04 01:47:37 +00:00
jonathan
4e33c9f0dc
Snapshot of a prototuype for a new-config GENERIC configuration.
...
This relies on an ugly mixture of new-style config and old-style config.
1995-08-04 01:24:39 +00:00
thorpej
fb56ae3095
Kill extra declaration of bcea[]. It's also defined in globals.c.
1995-08-04 01:17:26 +00:00
mycroft
f0b7d011a4
Encapsulate the test for sending a notification in a macro, sb_notify().
1995-08-04 01:14:55 +00:00
jonathan
d55e0dddac
Restructure configure(): move turbochannel-device configuration
...
into a separate function for readability. Rework interrupt initialization,
so interrupts are never enabled until configuration has found and
attached all devices. Call spl0() just before probing the scsi bus,
as the DECstation scsi code can't poll, and hangs if interrupts
are disabled.
Add preliminary support for new config, protected by #ifdef NEWCONF/#endif.
Cosmetic changes to swapconf() and setroot() to reduce distance
from Alpha versions of same.
1995-08-04 01:14:17 +00:00
mycroft
68735fd022
Encapsulate the test for sending a notification in a macro, sb_notify().
1995-08-04 01:09:57 +00:00
jonathan
43f316f423
Declarations for new-config autoconfigure, based on NetBSD/Alpha.
1995-08-04 00:34:15 +00:00
jonathan
1bacfdc2dd
Add preliminary support for new-style configuration: struct cfdriver,
...
and match and attach code. Still use the static softc so that drivers
work with kernels configured with either new or old config.
1995-08-04 00:26:35 +00:00
jonathan
d7bb0a516f
Add header files with prototyped declarations of the serial-chip hooks
...
used by old-style pmax console configuration.
1995-08-04 00:22:02 +00:00
jonathan
f7b8418b54
Add a prototype for (tc_enable_interrupt)().
1995-08-04 00:16:01 +00:00
cgd
9c8d63d05b
oops; trim some bogus 1994's from copyrights
1995-08-03 01:23:08 +00:00
cgd
60d53ca3d9
oops; trim some bogus 1994's from copyrights
1995-08-03 01:12:15 +00:00
cgd
bedee1822d
simplify various configuration code by setting function pointers and
...
calling the functions they point to. do real console initialization.
always include ecoff code (it's the "native" format, for now).
simplify kernel argument gathering.
1995-08-03 01:04:03 +00:00
cgd
cde26bf293
kill MD #ifdefs, pull primary bus name from global
1995-08-03 01:01:26 +00:00
cgd
44b967e45f
kill alpha_mb(); it's now inlined. make copy functions' frame sizes
...
more easily adjustable.
1995-08-03 01:00:11 +00:00
cgd
196db616cf
kill bogus comments, unnecessary functions
1995-08-03 00:58:33 +00:00
cgd
d55a404ae1
cpu-specific functions which could be split out of various parts of
...
machdep.c. There probably is a better way to this this code up, but
i picked this one for simplicity, for now...
1995-08-03 00:57:05 +00:00
cgd
f300c21d2e
entries for wsc, com
1995-08-03 00:55:27 +00:00
cgd
49ee71b3c5
MB -> wbflush
1995-08-03 00:54:28 +00:00
cgd
0b0dea1a70
resettodr returns void
1995-08-03 00:53:34 +00:00
cgd
207c4ddca2
MB -> wbflush
1995-08-03 00:52:29 +00:00
cgd
8aa6759ac6
console printf twiddling warning not really necessary now
1995-08-03 00:52:24 +00:00
cgd
ffb2012cee
MB -> wbflush
1995-08-03 00:52:00 +00:00
cgd
67e0ffcf73
bump NKMEMCLUSTERS up to 4M (increase of 4x)
1995-08-03 00:51:00 +00:00
cgd
d0fd75a461
pc keyboard driver, largely snarfed from i386. should be MI, but
...
until the i386 is capable of using a 'split' version, no point.
1995-08-03 00:48:25 +00:00
cgd
0e899183c9
MB -> wbflush
1995-08-03 00:46:52 +00:00
cgd
c296ddcd85
move some of the most important configuration code into a seperate
...
function, so that it can be called from early bus config code.
1995-08-03 00:44:57 +00:00
cgd
99dd0b8fc8
i/o mapping, kill some trash, map cacheable mem in dense PCI mem space
1995-08-03 00:42:25 +00:00
cgd
14388e344a
Brooktree bt485 register definitions. should be MI, but didn't want
...
to shove my names down others' throats (yet).
1995-08-03 00:40:49 +00:00
cgd
132ad46ef5
"Workstation Console" glue code. Badly "needs chainsawed."
...
Should be better integrated into autoconfig. Also, interface should
be designed rather than cobbled together... Nasty, but it Works.
needs things like ability to pass ioctl()s down to components, ability
to mmap() things, etc.
1995-08-03 00:39:58 +00:00
cgd
9a0323c873
PCI VGA support. should be MI, but not yet
1995-08-03 00:35:55 +00:00
cgd
5413c73bec
support for DEC 21030 (TGA) boards -- at this time, only the ZLXp-E1 works
1995-08-03 00:34:25 +00:00
cgd
beeaf64fd6
i/o map function dispatch, console picker function
1995-08-03 00:33:58 +00:00
cgd
721de847a4
need i/o map function pointer
1995-08-03 00:33:29 +00:00
cgd
e6c1386416
update for all the latest bells and whistles
1995-08-03 00:09:17 +00:00
cgd
d5cccabaa3
update to match my reality
1995-08-03 00:07:49 +00:00
cgd
d6eba5b92f
rename MB to wbflush, make it inline
1995-08-03 00:03:09 +00:00
cgd
32b4385a97
fix bug pointed out by, and do the cleanup suggested by
...
Alasdair Baird <alasdair@wildcat.demon.co.uk>. From pr 1301.
1995-08-02 22:01:46 +00:00
jonathan
be23617ea0
Commit ghastly change that supports select on framebuffers, since
...
the pr on that hasn't been closed yet.
Fix broken initialization of swap_dev.
1995-08-02 19:36:45 +00:00
briggs
b0a1bd6e17
Use panic() instead of printf();Debugger();
1995-08-02 11:53:02 +00:00
briggs
a76e2adfab
Get rid of reference to Debugger().
1995-08-02 11:50:43 +00:00
jonathan
c715dd10fe
Only print diagnostic messages about interrupt enable when DIAGNOSTIC
...
is defined.
1995-08-02 07:19:37 +00:00
jonathan
4542ca9870
Commit old changes from my source tree in preparation for newconfig:
...
only print diagnostic messages about interrrupt enabling when DIAGNOSTIC
is defined.
Remove old buggy 4.4BSD turbochannel interrupt kludge for ioasic machines
inside "#if 0"/"#endif" as the NetBSD code has been working fine for months.
1995-08-02 06:44:54 +00:00
briggs
f60a2bbccf
Add kludge for LC video and change IIvx to assume 1MB of VRAM if we can't
...
figure out how much there really is.
1995-08-02 04:15:41 +00:00
jonathan
9b50b450f7
Add DS_3MAXPLUS (kn03) to switch statements for redirecting input
...
to and from SCC devices. (The 3MIN was supported but not the 3MAXPLUS).
1995-08-01 23:15:26 +00:00
pk
ced95e1824
update from Chuck
1995-08-01 21:06:55 +00:00
jonathan
6a99440efd
Add prototypes for most functions. Fix typo where statements
...
intended to increment interrupt counters for vmstat -i (i.e., "ctr++")
on 3100s had just a single "+", and hence had no effect.
1995-08-01 06:58:57 +00:00
briggs
fc8739097d
Fix signed/unsigned gaff in last.
...
Bring up-to-date with latest rash of changes to if_ed.c.
1995-07-30 21:39:17 +00:00
briggs
ff5fa674dd
Fix the internal video probe again.
1995-07-30 21:35:00 +00:00
briggs
80cd97e743
delay(7) instead of delay(20) seems sufficient
1995-07-30 21:30:57 +00:00
briggs
cf76e90671
Differentiate printf for illegal instruction/fpu traps in kernel mode.
1995-07-30 19:18:28 +00:00
briggs
139f62c079
Add support for Farallon from Brian Gaeke (brg@dgate.org).
1995-07-30 13:38:04 +00:00
briggs
cf0aca3cb4
Read the packet header count in bytes, not as a word--word reads return
...
invalid data on some cards (notably old Apple Ethernet NB and Farallon
cards at least).
1995-07-30 02:44:27 +00:00
mycroft
60d2d483ca
Turn off the mbi diagnostics completely.
1995-07-29 23:04:54 +00:00
mycroft
a4fcbe857d
Don't loop if we're out of CCBs/SCBs/MSCPs.
1995-07-28 22:49:56 +00:00
phil
dad0b0a94c
Work towards getting gdb working by Craig Ruff.
1995-07-28 08:00:17 +00:00
phil
cb8805b840
Work toward making gdb work by Craig Ruff.
1995-07-28 07:51:38 +00:00
briggs
a2f49ac930
Don't show up in "slot" 0xe.\n
1995-07-28 01:34:58 +00:00
cgd
0d41f58879
fix a pasto
1995-07-27 21:39:59 +00:00
mycroft
8598ef4a21
Initialize ns_ifaddr.
1995-07-27 20:37:27 +00:00
mycroft
10a73abd8b
Initialize iso_ifaddr.
1995-07-27 20:36:14 +00:00
leo
cd73c9f0cb
Add middle button emulation.
1995-07-27 06:35:46 +00:00
mycroft
38036ed16e
Fix an oversight in the previous.
1995-07-27 05:01:08 +00:00
mycroft
e04a2a7a7f
Add needs-flags for pci_subr.c.
1995-07-27 04:43:19 +00:00
mycroft
1dbdf20df6
le can also be on PCI.
1995-07-27 04:40:55 +00:00
mycroft
c9f7b2a185
Add PCI-specific configuration for PCnet-PCI.
1995-07-27 04:39:05 +00:00
briggs
58f294f29c
get rbv_nubus_intr working--at least on the IIsi.
1995-07-27 04:19:21 +00:00
mycroft
605a125097
After an I/O operation completes, immediately set B_BUSY again. Also,
...
lower spl sooner, and remove an unneeded splbio()/splx() pair.
1995-07-27 02:37:12 +00:00
mycroft
7ba8b413d9
Disable diagnostics related to expected mbi race condition.
1995-07-27 01:00:11 +00:00
mycroft
fc427776a7
Add stuff for I/O mapping.
1995-07-27 00:29:02 +00:00
chopps
bbd70b413b
fix minphys routine to match others
1995-07-26 14:30:53 +00:00
chopps
3878753b32
fix typo
1995-07-26 14:22:43 +00:00
chuck
0b036e11bf
mvme68k port -- for the motorola vme147 m68030 card
1995-07-25 23:11:53 +00:00
leo
2826d4fa30
A forgotten file for the kbdmap fixes.
1995-07-25 13:49:26 +00:00
mycroft
e8c91e1129
Fix typos.
1995-07-25 05:11:11 +00:00
cgd
e9d17d38b5
avoid unnecessary aging of buffers. This used to make sense, when buffer
...
caches were much smaller, but makes little sense now, and will become more
useless as RAM (and buffer cache) sizes grow. Suggested by Bob Baron.
1995-07-24 21:19:27 +00:00
jonathan
9aae39ad42
Partial rewrite of rz dump routine. Doesn't yet write to disk but
...
does everything else. No worse than returning ENXIO, as we used to.
1995-07-24 19:36:52 +00:00
ragge
dde1e61099
maxpartitions added. Kernel now loaded with -Z flag.
1995-07-24 18:58:32 +00:00
mycroft
e413887539
Update to use dev/ic/am7990.c.
1995-07-24 18:04:21 +00:00
cgd
d8e7ea659c
restore a deleted semicolon
1995-07-24 09:03:00 +00:00
cgd
3a99ca568b
this README has been unnecessary for a while.
1995-07-24 07:59:06 +00:00
cgd
b45221af72
prototype strategy and minphys, use & check minphys return value
1995-07-24 07:45:24 +00:00
cgd
ffe4785a58
update SCSI minphys routines' definitions to match standard minphys()
...
definition and usage.
1995-07-24 07:33:32 +00:00
cgd
da9c1b5e48
fix minphys so that it actually works properly
1995-07-24 07:31:45 +00:00
cgd
27435d744c
update SCSI minphys routines' definitions to match standard minphys()
...
definition and usage.
1995-07-24 07:28:18 +00:00
cgd
4f9fb2ab3e
bound xfer properly in minphys, panic if can't.
1995-07-24 07:25:46 +00:00
cgd
03bd272351
add a prototype for physio()
1995-07-24 07:21:09 +00:00
cgd
830a91b2e9
update SCSI minphys routines' definitions to match standard minphys()
...
definition and usage.
1995-07-24 07:16:44 +00:00
cgd
4d0bd10d53
kill structure offest comments in non-fixed-size structures.
...
In some of our worlds, pointers just Aren't 4 bytes.
1995-07-24 07:08:14 +00:00
cgd
3301cf82fd
update SCSI minphys routines' definitions to match standard minphys()
...
definition and usage.
1995-07-24 06:55:37 +00:00
fvdl
64b54f62f4
syscalls.master changed
1995-07-24 06:39:38 +00:00
leo
891ce379fd
Make the msdosfs driver understand Atari-gemdos filesystems. Although they
...
have much in common, there are some differences in the bpb/bootsector that
needed to be handled in the mounting code. The gemdos bpb/bootsector structs
are included for clarification.
1995-07-24 06:36:23 +00:00
fvdl
83ed983d47
mkdir() has 2 arguments.. fixes PR 1248 (from Brad Spencer)
1995-07-24 06:35:28 +00:00
leo
052e19d7fd
Change and fix the way of keyboard mapping. Each virtual console has it's
...
own private keymap, initialized on open from the system-keymap. Both
system and private keymaps are settable.
1995-07-24 05:56:06 +00:00
cgd
a696e525b7
fix function prototypes, usages, to match what the code actually does
1995-07-24 05:54:52 +00:00
leo
a4578576c6
Added -f option to reload system-wide keymap (instead of current screen one).
1995-07-24 05:47:48 +00:00
leo
5f98065492
Use the right includes
1995-07-24 05:44:43 +00:00
cgd
979cf41d87
merge changes from update
1995-07-24 05:26:53 +00:00
mycroft
607e071f1b
Fix pasto.
1995-07-24 04:34:51 +00:00
mycroft
8170afdb2d
Copy changes from ISA version.
1995-07-24 04:15:35 +00:00
mycroft
bdb9d41d7e
Fix thinko in packet size diagnostic.
1995-07-24 04:12:45 +00:00
cgd
267dd7012f
merge updated version from Matt Thomas, which includes dc21041 support.
...
There are a couple of questionable changes in here, that i'm going to
hammer out of him in the next week or so...
1995-07-24 03:54:14 +00:00
mycroft
9c4ef77945
Remove extraneous makeoptions declarations.
1995-07-24 03:33:12 +00:00
mycroft
6dfa7461a5
Add -Werror.
1995-07-24 03:30:07 +00:00
mycroft
73d0d3717e
Don't toss out tty stop signals if we're being traced.
1995-07-24 03:18:42 +00:00
mycroft
2d37aba592
Add missing `break;'.
1995-07-24 02:46:47 +00:00
mycroft
ff82158c19
Fix typo.
1995-07-24 02:43:11 +00:00
mycroft
4f36e42ff4
Various cleanup:
...
* Use standard function naming conventions.
* Only increment if_ipackets when a packet was actually received.
* Check for excessively large or small packets before trying to read them.
1995-07-24 02:40:38 +00:00
mycroft
413a5efc0c
Pass a softc to leget(), not an ifnet.
1995-07-24 02:29:59 +00:00
mycroft
33292f0f88
Fix typos.
1995-07-24 02:08:13 +00:00
mycroft
7998e5ab4c
Various cleanup:
...
* Use standard function naming conventions.
* Only increment if_ipackets when a packet was actually received.
* Check for excessively large or small packets before trying to read them.
1995-07-24 02:02:45 +00:00
mycroft
b5699db68d
Rename new xmit_busy back to txb_inuse.
1995-07-23 23:42:47 +00:00
mycroft
799910cb2c
Remove txb_inuse. Other stylistic changes.
1995-07-23 22:12:16 +00:00
mycroft
1df91e03ca
Remove a noop clearing of IFF_OACTIVE.
1995-07-23 22:09:11 +00:00
mycroft
1199b1b042
Exchange xmit_free for xmit_busy. Add BPF hook to iestart().
1995-07-23 22:02:20 +00:00
briggs
ff7dcdbfc5
Some debugging code added.
1995-07-23 21:54:47 +00:00
briggs
1c213ea5b6
Minor #def changes.
1995-07-23 21:51:47 +00:00
mycroft
317db86dd3
Stylistic changes.
1995-07-23 21:37:51 +00:00
mycroft
9b2ae2a3cd
Stylistic changes.
1995-07-23 21:26:48 +00:00
mycroft
4da9a5f814
Stylistic changes.
1995-07-23 21:14:31 +00:00
mycroft
644935b313
Slight rearrangement. Also, force eg_incount to 0 after a reset.
1995-07-23 20:54:23 +00:00
mycroft
ecf259e342
Call epmbufempty() any time the board is stopped.
1995-07-23 20:46:49 +00:00
mycroft
57528ce346
Init functions are always called at splimp().
1995-07-23 20:36:51 +00:00
mycroft
6bc1cc31f8
Push the copying of the output buffer further down, with the intent of
...
eliminating it and outputting the mbufs directly. Make sure the queue drains
even if packets are not failing to transmit.
1995-07-23 20:27:48 +00:00
jonathan
4525afdaeb
Add diagnostics for 5k/240 turbochannel interrupts, and clean up IOASIC clock
...
declarations.
1995-07-23 20:21:17 +00:00
mycroft
a8ce47fa44
Remove extra spls in el_init().
1995-07-23 20:11:55 +00:00
jonathan
82d5943755
Add argument prototypes - __P((void)) - to the declarations of Mach_spl*() functions.
1995-07-23 20:11:54 +00:00
mycroft
90da0e3a99
Kill return values in egstart().
1995-07-23 19:45:42 +00:00
mycroft
3d1d0d928b
Update prototypes.
1995-07-23 17:57:39 +00:00
mycroft
a16702ce45
Various:
...
* Fix ugly looping constructs.
* Add a missing splx().
* Eliminate sc_pktbuf.
1995-07-23 17:50:56 +00:00
mycroft
8593f3a607
Recode elread() and elget() like other drivers.
1995-07-23 17:05:26 +00:00
mycroft
a1a31f853c
Fix pasto.
1995-07-23 16:43:40 +00:00
mycroft
9c26c4da18
Always use m_pkthdr.len on output. Panic if M_PKTHDR is not set.
1995-07-23 16:42:49 +00:00
mycroft
780f5dbe47
Make panic message consistent.
1995-07-23 16:33:08 +00:00
mycroft
465cfd15f0
Always use m_pkthdr.len on output. Panic if M_PKTHDR is not set.
1995-07-23 16:32:33 +00:00
mycroft
90d6423bcb
For outgoing packets, always allocate a header mbuf and fill it in.
1995-07-23 16:29:47 +00:00
jonathan
1354a15fb5
Add support for Decstation 5k/240 (3MAXPLUS) to the switch controlling
...
redirection of console serial input (keyboard, mouse). Fixes non-redirection of
keyboard to X server on a 5k/240. The Mfb and sfb drivers are similarly broken.
1995-07-22 05:04:46 +00:00
leo
c6e852a141
The mappings for the german keyboard layout.
1995-07-19 20:45:27 +00:00
brezak
693043d786
GUS audio driver from John Kohl.
1995-07-19 19:58:09 +00:00
brezak
f8b400c446
Change DEBUG-->AUDIO_DEBUG. PR# port-sparc/1241
1995-07-19 19:50:16 +00:00
briggs
83d0f4f73d
Use get_mapping only if 030 and MMU enabled. Otherwise, fake it.
1995-07-19 16:39:03 +00:00
cgd
60db543a18
don't just throw away updates to the cylinder group bitmaps, actually
...
write them to disk! From Keith Smith at Harvard, via Kirk McKusick.
fixes the occasional `blkfree: freeing free block' that has been seen
when cluster reallocation code is enabled.
1995-07-19 15:47:36 +00:00
christos
eee33cdb2a
Added a KTR_EMUL record to be used to indicate syscall emulation changes.
1995-07-19 15:27:05 +00:00
christos
7de0fcfd12
Add KTR_EMUL to indicate a switch between syscall emulations.
...
Currently this record is emitted only on exec. Maybe it should
be emitted on ktrace() attach too.
1995-07-19 15:19:08 +00:00
cgd
4ec7eec85b
don't forget the 'dev' argument to physio(). pointed out by der Mouse
...
and others.
1995-07-19 13:04:02 +00:00
briggs
d9b318b2be
Add support for:
...
GENERIC
RB_ASKNAME
RB_MINIROOT
Also revved up the required version of the booter because we need the
booter fixes to get this functionality.
1995-07-18 04:10:13 +00:00
jonathan
594ee04ec1
Add "cpu DS5000_240" to generic config, to support 3max+.
...
3max+ interrupt handler and IOASIC clock code depend on it.
1995-07-18 02:02:38 +00:00
briggs
a5e4549306
Stop recursive jmp0panics.
1995-07-17 01:31:14 +00:00
briggs
8d0e9635a6
Get IIsi ethernet almost working. Still misses a number of interrupts.
1995-07-17 01:26:02 +00:00
briggs
c5fe9f62ff
Cleanup a bit.
1995-07-17 01:25:12 +00:00
briggs
c5724ea3a3
Some more bugs fixed and functionality corrected by:
...
"Paul R. Goyette" <paul@pgoyette.bdt.com>.
Implemeted the Set Scrolling Region, Set Tab Stop, and Clear All
Tab Stops functions.
1995-07-17 01:24:34 +00:00
briggs
a91a7f619b
GENERIC should have options GENERIC. Duh.
1995-07-17 01:21:29 +00:00
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