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
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