Commit Graph

8145 Commits

Author SHA1 Message Date
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