Commit Graph

1384 Commits

Author SHA1 Message Date
glass af72539915 T_LINEP member of struct tty becomes t_sc. This replaces the
#define t_sc T_LINEP
that appear in tty_tb.c, if_sl.c, and if_ppp.h
1993-11-09 06:22:08 +00:00
mycroft 2f5635f70b A slightly unfinished i82586 driver, based on Garrett Wollman's. 1993-11-08 20:15:31 +00:00
mycroft 5aa77a4ddc Enable ie0. 1993-11-08 20:10:32 +00:00
deraadt 96faaf5809 sign extension bug fix from <rick@snowhite.cis.uoguelph.ca> 1993-11-08 03:39:21 +00:00
cgd 34178aa2ef don't use splclock()/splnone(), use splclock()/splx().
pointed out by david greenman.
1993-11-05 23:18:51 +00:00
cgd ab12bacae0 note that use of splnone() is prolly bogus; splnone() itself is bogus,
so it's use is.  8-)
1993-11-05 23:18:04 +00:00
cgd ec3f94cfcd fix from david greenman, davidg@freefall.cdrom.com:
fixed bug where large amounts of unidirectional UDP traffic would fill
the interface output queue and further udp packets would be fragmented
and only partially sent - keeping the output queue full and jamming the
network, but not actually getting any real work done (because you can't
send just 'part' of a udp packet - if you fragment it, you must send
the whole thing). The fix involves adding a check to make sure that the
output queue has sufficient space for all of the fragments.
1993-11-05 23:06:26 +00:00
cgd 8068dd9add fix from david greenman, davidg@freefall.cdrom.com:
sosend was attempting to reserve space in an mbuf cluster for a datagram
header and because of bugs in the sosend's mbuf allocation algorithm,
sosend was calling uiomove twice as many times as was necessary. It turns
out that PREPEND does the right thing when a cluster is associated with
an mbuf header, so the datagram header allocation can be defered. This
also ends up additionally consuming one less mbuf for the TCP protocol
because TCP always allocates another header mbuf regardless if space is
available to prepend the protocol header. The net result of this fix is
that unix domain and pipe throughput is increased by a measured 10%.
1993-11-05 23:00:27 +00:00
cgd e685fd393f added files copied in from libc. version numbers are screwed,
but are screwed for the rest of libkern's files, anyway.
1993-11-05 22:40:48 +00:00
deraadt b7e4012f31 now that esp.c is fixed, go back to using the enhanced cache code. 1993-11-05 12:43:02 +00:00
deraadt 80a1356c75 DELAY(1) after a DMA_DRAIN, to let the esp chip have a chance to
recover from the DMA.. seems to let my ss1+ work with the cache enabled.
+ also esp reset code from Torek.
1993-11-05 12:41:54 +00:00
deraadt 6548614b2e if_init goes away. 1993-11-05 10:51:50 +00:00
cgd 6ca8998c91 GENERIC: add mcd0
TEST: add mcd0, commented out
files.i386.newconf: add support for mcd driver
1993-11-04 09:28:26 +00:00
cgd 08c263706c add mcd: Mitsumi CD driver by Holger Veit and Brian Moore 1993-11-04 09:12:30 +00:00
phil 4e1f2bee45 Fixed documentation. 1993-11-04 07:58:55 +00:00
phil f3b1236dc8 State update, still not working. 1993-11-04 07:58:29 +00:00
paulus 5fda6c1974 Removed test (CCOUNT(&sc->sc_ttyp->t_outq) == 0) for whether
to call pppstart or not: now we call pppstart for every packet,
which should aid recovery from lost transmitter interrupts.
Also a fix for 386BSD/FreeBSD which doesn't affect NetBSD.
1993-11-04 03:45:23 +00:00
mycroft 3bb5fc8b74 Enable is0. 1993-11-03 21:32:45 +00:00
cgd 554c91f74a change some flags back to bitfields, so it compiles. 1993-11-03 14:49:22 +00:00
cgd 64c1e3b2f5 new device pager from mike hibler, hibler@lamp. this is in its 'virgin' state 1993-11-03 14:48:42 +00:00
mycroft fa3ccaa273 Change comment about pms. 1993-11-03 13:29:37 +00:00
mycroft e163596ee8 Fix some comments and enable tb. 1993-11-03 12:48:31 +00:00
cgd 8900ab37e3 clean up, move some XXX's around, and note that one or two things should be
replaced with timeval{add,sub}, and generally be made more sane.
1993-11-03 09:08:42 +00:00
mycroft dd896d55b8 A theoretically working version. The probe routine needs work. 1993-11-02 23:59:34 +00:00
phil 1859a602ad Adding extra relocation information for the pc532. 1993-11-02 21:14:10 +00:00
mycroft 6c77f913e9 I have pms. ;-) 1993-11-02 20:40:57 +00:00
glass 3e21ea2e33 tablet line discipline compiles and probably works now. 1993-11-02 06:19:24 +00:00
mycroft 3103af7e6b Take advantage of special mask mode by leaving interrupts masked in ISR until
they are serviced.  No need to frob IMR.
1993-11-01 08:36:50 +00:00
mycroft 1a2c258aa6 Enable chaining IRQ only if we're using an IRQ on the slave. Other minor
cleanup.
1993-11-01 00:06:04 +00:00
mw b917a0d04f Change gfx-drivers to used g_data for their private data, and use regaddr
for what it's meant, that's to point to the register area. Now, both
gfx drivers should be fairly controllable from user-level applications.
1993-10-31 23:06:36 +00:00
mycroft 44c93f17b5 Grumble. Just set the blasted ICU mode before every read. Also, send the EOIs
to the right port in isa_flushintrs().
1993-10-31 20:21:11 +00:00
mycroft b1c739de48 Need to change to reading ISR in isa_discoverintr(). 1993-10-31 20:11:31 +00:00
mycroft 58dd8e7222 Read ISR by default. If DIAGNOSTIC, display ISR and IRR status for stray
interrupts.
1993-10-31 20:05:43 +00:00
glass bee2279a89 removed unnecessary #ifdef. config does the right thing. 1993-10-31 19:36:33 +00:00
glass 7a7e6dbd95 removed slip and ppp specific prototypes from tty.h where they didn't belong.
moved them to tty_conf.c within #if Nwhatever > 0 where they do belong.
made sure that if_sl.c, and if_ppp.c still compile quietly.
1993-10-31 19:27:45 +00:00
mycroft a4cf218142 Rearrange IDT initialization so it's easier to change ICU_OFFSET. 1993-10-31 18:36:21 +00:00
mw 3fb09cab4b Back out of a stack-adjust (in COMPAT_SUNOS mode) after syscalls that
returned ERESTART.
1993-10-31 01:53:36 +00:00
mw f6ea0d0d1c Define new flag MDP_STACKADJ to back out of a stack adjustment in
syscall() in case of ERESTART.
1993-10-31 01:52:12 +00:00
mycroft 196fd95009 Clean up deleted files. 1993-10-30 23:44:40 +00:00
mw 10e446bf72 new tree for amiga, replacing the bogous previous one.
SunOS support works for a lot of executables now (static and dynamic).
1993-10-30 23:41:47 +00:00
mycroft 7b1556d1c1 Clean up deleted files. 1993-10-30 23:41:45 +00:00
mw 4e382ac007 new tree for amiga, replacing the bogous previous one.
SunOS support works for a lot of executables now (static and dynamic).
1993-10-30 23:40:53 +00:00
mycroft 7029745061 Clean up deleted files. 1993-10-30 23:40:43 +00:00
mw 2be7316095 new tree for amiga, replacing the bogous previous one.
SunOS support works for a lot of executables now (static and dynamic).
1993-10-30 23:40:05 +00:00
glass 5e6a2e33c0 fix chris typo. 1993-10-30 16:11:07 +00:00
mycroft a74a4778b9 Enable fdc1 and assign it drq 3. 1993-10-29 20:38:46 +00:00
cgd b73e5e6647 kill the process 'space' accounting collection for the following reasons:
(1) text calculation incorrect (would 'overbill')
	(2) data calculation incorrect (would 'overbill')
	(3) the maxrss calculation uses stuff which isn't present
		on the sparc.
if 3/4 tests are questionable and/or broken, well...
1993-10-29 19:49:25 +00:00
cgd 06c4106aec limit block sizes requested 1993-10-29 19:25:18 +00:00
mycroft a30194515d Clean up deleted files. 1993-10-29 11:30:15 +00:00
andrew 0f926f7b02 ttyfree() bugfix edition, plus various minor tweaks. 1993-10-29 08:58:34 +00:00