Commit Graph

8373 Commits

Author SHA1 Message Date
fvdl 28d9d64235 Emulate some syscalls that appear in Linux 1.3: a select() with normal args,
getdents() and flock().
1995-08-23 20:17:28 +00:00
thorpej d6160bdc1b Fix typo in comment, from Chris P. Ross. 1995-08-23 01:08:10 +00:00
thorpej 5194080841 Put SIOCGETVIFCNT and SIOCGETSGCNT in group `u'. This is consistent with
other systems' integration of Multicast release 3.5 and fixes the ENXIO
that these controls used to produce.
1995-08-23 00:40:47 +00:00
jtc 0da9212559 recommanded -> recommended; PR #1395 1995-08-22 19:43:06 +00:00
jtc 356b42ba70 inclide -> include; PR #1400 1995-08-22 19:39:23 +00:00
ragge 90a621b682 Fixed USRPTSIZE trouble. Cleaned up. 1995-08-22 04:34:17 +00:00
jonathan 8522bd48f3 Move the pmax scc driver from sys/arch/pmax/dev to sys/arch/pmax/tc,
as it's a driver for a device under a TC IOASIC.   The Alpha port also
has its scc driver in tc/scc.c, and the pmax driver scc is nearly the same
as the Alpha.
1995-08-22 04:28:41 +00:00
ragge 4ff0530b57 Changed way to calculate USRPTSIZE. 1995-08-22 04:28:20 +00:00
fvdl 7cd62a508c Check for status NULL argument in wait4 and waitpid. From PR #1392
by Thomas EberHardt.
1995-08-21 23:15:51 +00:00
jonathan 7560ab9b68 Rework the pmax scc driver, which hadn't changed much from the 4.4bsd
pmax driver, to be diffable with the NetBSD Alpha driver. Specifically,
the pmax driver now uses register names dev/ic/z8530.h. The driver now
uses new-style config and dynamically-allocated softc structures.  The
driver no longer resets the "other" channel on an SCC when changing tty
parameters. The #ifdef'ing away of processing of the output clist for
non-console lines is no longer done.  (Non-console serial ttys might even
work now.) Other discrepancies between the pmax and alpha drivers, which I
don't understand yet, are marked by XXXes.

The 4.4bsd pmax console redirection code is still present, protected
by #ifdef TK_NOTYET. Diffs from the Alpha scc driver are now minimal.

Verified to boot on a Decstation 5k/240.
1995-08-21 21:42:10 +00:00
gwr acbfd7b67d Fix vectored interrupts, and do autovectored ones similarly. 1995-08-21 21:37:36 +00:00
gwr 35a5b206df If a swap entry is being used as root, do not swap there. 1995-08-21 21:36:25 +00:00
jonathan 97cf65df4a Change pmax ASC driver to use dynamically-allocated softc structures.
Concomitant changes to code that prints driver/unit name: use dv_xname
and dv_unit, instead of doing pointer arithmetic on elements of the static
softc array.

Remove support for old config.  The old-config "driver" structure
is still present, because the pmax non-MI SCSI driver needs it.

Merge some off Per Fogelstrom's changes for the Pica driver,
which uses the machine-independent SCSI code. This is #ifdef'ed
out until the DMA is fixed to work on Decstations, too.
1995-08-21 21:22:43 +00:00
thorpej a2db2c1899 Fix typo, pointed out by cross@va.pubnix.com (Chris P. Ross). 1995-08-21 18:25:52 +00:00
ragge ce63fbf5f1 Bug fix in byte_swap_word(); didn't always make it. 1995-08-21 16:36:32 +00:00
pk d9e37f2bc7 Set the scsi link before calling config_attach(), so target/lun info is
available to, say, dk_establish().
1995-08-21 09:30:09 +00:00
mycroft e11b690b80 Require drives 2 and 3 to be explicitly configured. 1995-08-21 06:56:14 +00:00
mycroft 7f01d32fb3 syscalls.master changed. 1995-08-21 03:42:35 +00:00
mycroft 9a0cd13442 Implement the old and older uname(2) calls. 1995-08-21 03:42:09 +00:00
ragge e7749341ad Added PG_URKW: World readable, kernel writable. 1995-08-21 03:28:50 +00:00
ragge 172fd72aab Bug fix: Must have user readability of kernel text on Microvax
even when using DDB.
1995-08-21 03:27:05 +00:00
ragge ed3c38b4cd Added gencntty(); 1995-08-21 03:24:46 +00:00
leo 9c9abeb6c3 Add Falcon video support. Thanks to Thomas Gerner. 1995-08-20 18:17:09 +00:00
chopps 1e4fbda19c fix protos (#1390) from Bernd Ernesti <bernd@arresum.inka.de> 1995-08-20 15:22:46 +00:00
chopps d2ca213101 small cleanup 1995-08-20 15:13:19 +00:00
chopps b720d4fd09 rename RZ3_64BIT_SPRITE to RH_64BIT_SPRITE 1995-08-20 15:09:25 +00:00
chopps 148e463417 change state (and rename) RH 64BIT option. Add ccd to COFFEE 1995-08-20 15:08:19 +00:00
leo 34e65502e7 - make sure that there is 1 pending software interrupt max.
- read status before character, so the status won't be lost (Thomas Gerner)
- accumulate as much interrupts as possible in zshard()
1995-08-20 13:28:10 +00:00
leo b7680d7c14 Select the right register structure for the Atari. Although it's big-endian,
it uses the odd bytes. Also make the registers volatile.
1995-08-20 13:24:05 +00:00
chopps 391bbae93c make defaults more accessable. 1995-08-20 03:07:25 +00:00
chopps 5e60f02d97 fix grf_rh problem with sprite and allow mode changing.
from mw@eunet.ch (Markus Wild)
1995-08-20 02:54:34 +00:00
chopps c24824f7d7 fix bogus length check (#1299) 1995-08-20 02:52:48 +00:00
chopps 461d235743 add more grful stuff 1995-08-19 23:57:19 +00:00
mycroft 2f38ab0ad1 Garbage collect useless `off' and `len' variables. 1995-08-19 16:33:17 +00:00
leo 6b9a15416a - Add 'restbyte' handling for TT.
- Don't _ever_ do DMA for less than 512 bytes on the Falcon
- Fix bug in autosense-handling. Now asks for the correct number of bytes.
  Now it won't read ghost bytes on the tape anymore.
- Add missing braces as suggested by Matthias Pfaller
- Make it possible to debug requests on a specified number of targets
- Add debug option to show only transaction with error code != 0
1995-08-19 12:36:21 +00:00
cgd 9ee311ead5 Update to latest code from CSRG. 1995-08-19 07:48:14 +00:00
mycroft 4fec83b441 Fix oversights in previous change.
Remove ugly casts and correct spelling.
1995-08-19 04:58:44 +00:00
cgd b0dc5d3d7f local adaptations, and fix a could of compilation errors 1995-08-19 04:35:18 +00:00
cgd 1c8b202de7 use I/O ports on the i386 1995-08-19 04:27:31 +00:00
cgd 01597582c1 fix botch in one of my previous imports 1995-08-19 04:15:29 +00:00
cgd ce48e523d6 kill some redundant (and harmful) static definitions of functions 1995-08-19 04:04:50 +00:00
cgd 9980150670 Generic FDDI support by Matt Thomas. Support for DEC "PDQ" FDDI chipset
and for the PCI attachment of said chipset ("if_fpa"), also from Matt Thomas.
Arguably, pdq* doesn't belong in sys/dev/ic, but it's going to be shared by
various bus attachment devices at some point in the future, and there's no
other place that seems to fit as well.
1995-08-19 00:59:47 +00:00
cgd 1bac9e2b7c Some changes from Matt Thomas, to help support FDDI:
add 'fddi' attribute, and files descriptions for it.
XXX add 'pdq' attribute, and add files descriptions for it.  This is to
XXX support the various front-ends that use his driver (which will eventually
XXX live on PCI, EISA, and TC busses at least).  This is probably not the best
XXX way to arrange this, but i can't think of a better way without whacking
XXX a lot of things.
1995-08-19 00:49:15 +00:00
cgd 8a23aa1655 nuke IMP. 1995-08-19 00:46:15 +00:00
cgd 8b417fd28b add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize. 1995-08-19 00:44:48 +00:00
pk a3bb091c9e Do bootpath matching. 1995-08-18 22:03:59 +00:00
pk f5252faa3b Include exec header in length computation. 1995-08-18 21:44:01 +00:00
thorpej ba2d89fa98 Bring this up to speed. 1995-08-18 20:24:02 +00:00
chopps d821c2be28 resolve conflict with grf_rt over monitor_defs symbol 1995-08-18 16:46:57 +00:00
chopps 394b87b8f3 change for a2410 from is@Beverly.Rhein.DE (Ignatios Souvatzis) 1995-08-18 16:21:33 +00:00