Commit Graph

15840 Commits

Author SHA1 Message Date
jtc
37cdc1eef3 temporarily back out last change 1995-09-15 05:32:45 +00:00
jtc
9e4597a551 Add extern qualifier to swapmap & nswapmap declarations 1995-09-15 05:23:44 +00:00
briggs
048e948791 As Leo pointed out, my last change was not safe. This one should be.
I added two new bitfields to ncr_softc.  They flag which devices have
been selected, and which ones have failed to go to message out when
selected with ATN.  If a target fails to go to message out the first
time it is selected, it goes into the latter bitfield.  If it fails
thereafter, we treat it as we did before.
1995-09-15 01:52:18 +00:00
pk
7b44b2859d Avoid falling off the end of a fixed-length array (from John F. Woods; PR#1431). 1995-09-15 00:32:33 +00:00
pk
84c517c128 Clear up some size_t/ssize_t confusion. 1995-09-14 23:45:21 +00:00
briggs
a0d6a95720 indentify.
Bring in a few changes from Walter Ruetten (walter@ghpc8.ihf.rwth-aachen.de).
Assume that PRAM time - GMT bias (set in the booter) is the current time
in UTC.
1995-09-14 23:44:12 +00:00
pk
0c92121b3f Mirror libkern makefiles. 1995-09-14 20:55:00 +00:00
pk
0fbf2ca04a Make *print() a message if no scsibus was attached. Also, return something
valid.
1995-09-14 20:43:09 +00:00
pk
db43cabe32 Re-instate configuration print routines, following Chris' suggestion.
Only prints something if there's no scsi bus to attach.
1995-09-14 20:38:53 +00:00
jtc
d4fe82df8d Handle %q format directive; from Mike Long (PR #1454). 1995-09-14 16:19:06 +00:00
hpeyerl
8acf48ade5 update comment to include Etherexpress. 1995-09-14 12:46:42 +00:00
hpeyerl
abe82a6680 Etherexpress-16 driver collision by Andrew Gillham <gillham@Digitron.COM>. 1995-09-14 12:41:32 +00:00
jtc
665fc8b7e7 Fix formatting as suggested in PR #1452 1995-09-14 06:10:53 +00:00
briggs
1b34b69c93 Gah... The Asante SCSI/ethernet box doesn't answer the ATN request
for a 'MESSAGE OUT' phase, so add support in scsi_select() for the
phase to be either 'MESSAGE OUT' or 'COMMAND'.
1995-09-14 02:54:05 +00:00
briggs
d8ab74fcf2 Honor new MACH_CLASSIIvx. 1995-09-14 02:49:11 +00:00
briggs
13c1f2d48b Shuffle MACH_CLASSes around a tad and add IIvx as a seperate class because
it may have a different method for accessing the 'via2' functions.
1995-09-14 02:48:09 +00:00
briggs
9c61c22d66 Clean up message a tad. 1995-09-14 02:43:51 +00:00
cgd
456a083153 needs string.h for protos. 1995-09-14 01:39:52 +00:00
fvdl
788a8655bc Update offset elsewhere in linux_getdents(); still emulate a bug in
Linux, but avoid endless loops.
1995-09-13 21:51:14 +00:00
jonathan
d7b9b56e07 Rename the old pmax SCSI driver's "struct scsi_device" to
"struct pmax_scsi_device", to avoid name conflicts with the sys/dev/scsi
SCSI driver.
1995-09-13 19:35:53 +00:00
thorpej
f47d026fb3 Fix cosmetic typo in kernel name prompt. 1995-09-13 18:52:39 +00:00
thorpej
9f19d8f938 bootpd can run from the shell, too, and thus lives in /usr/sbin, not
/usr/libexec.
1995-09-13 17:47:55 +00:00
gwr
0081434965 Correct the padding to min Ethernet packet size. 1995-09-13 15:06:12 +00:00
jonathan
a0b0b167c1 Include the new fbio.h, fbvar.h, and lk201.h header files introduced
with rcons, as dtop.c supplies keyboard and mouse input from the desktop
bus, even though it hasn't itself changed.
1995-09-13 07:46:03 +00:00
jonathan
d69221cacc Delete the definition of struct VDACregs (the registers of a Brooktree
bt478 vdac); it's now in bt478.h.
1995-09-13 05:46:02 +00:00
briggs
18a11cecc7 Update a comment. 1995-09-12 22:52:08 +00:00
jonathan
f5dc3f3d83 Fix bug (introduced by passing sc's rather than unit numbers) in the
computation of cfb interrupt-reset address for the 3MIN's interrupt routine.
1995-09-12 22:36:09 +00:00
briggs
d8dc3d91c0 Update for Leo's changes. 1995-09-12 22:31:45 +00:00
chuck
851669ceab cleaned up bootpath code:
- v2 openprom disk boot generates "/sbus/esp/sd@3,0" which we translated
	into "/sbus@0,0/esp@0,0/sd@3,0"... this caused esp.c to reject
	the bootpath because it was looking for sbus slot/offset 0,0.
	changed the code to generate "/sbus0/esp0/sd@3,0" to fix this
	panic.
 - when generating fake boot paths, generate them with unit numbers
	rather than slot/offsets (thus, /obio@0,0 becomes /obio0, as
	does vmel and vmes).
 - fixed up comments to reflect these changes
tested new code on: 4/280 (diskless), 4/360 (diskless), 4/360 ("xd" disk),
	4/370 (scsi disk), ss1 w/v1 openprom (diskless),
	ss1 w/v1 openprom (scsi disk), ss2 w/v2 openprom (diskless),
	ss2 w/v2 openprom (scsi disk).
1995-09-12 22:03:02 +00:00
briggs
1ae7af5b59 Updates from Leo's changes in the atari port. 1995-09-12 21:20:18 +00:00
briggs
639f90ef6e Update from Leo's changes. 1995-09-12 21:05:58 +00:00
thorpej
fd263d7b71 The rest of the little-endian patches from Scott Reynolds that
apparently slipped through the cracks before.
1995-09-12 20:07:52 +00:00
leo
e34d65cb12 - Fix a timing bug in the loop, that was introduced in the previous version.
- Added some code to reject unsupported messages correctly.
1995-09-12 19:58:53 +00:00
thorpej
60f8dae203 Add the manual page links suggested my Luke Mewburn in PR 1449. This
is consistent with at least 2 other operating systems with YP subsystems.
1995-09-12 19:40:27 +00:00
thorpej
84b1a32da6 Fix typo pointed out by Luke Mewburn in PR 1449. Kill duplicate RCS id. 1995-09-12 19:33:03 +00:00
jtc
f5c3480dee Substitute SUBMITTER instead of DEFAULT_SUBMITTER when generating send-pr.el 1995-09-12 19:01:51 +00:00
jtc
7bd4220c4e fix typo; PR #1457 1995-09-12 18:47:09 +00:00
jonathan
b216a24d04 Rename the 4.4bsd/pmax framebuffer glass-tty console structs to
"struct pmax_fbtty".  Remove most of its fields, since the fields
in the struct fbinfo render most of them unecessary, and the pmax
now uses rcons anyway. Moe the lk-201 keycode definitions to lk201.h,
so rcons can use them too.
1995-09-12 07:51:35 +00:00
jonathan
6a072ce81d Remove the old cdevsw entries for cfb, mfb, xcfb and pm framebuffers.
Add an entry for the generic framebuffer "fb" pseudo-device, which
should be used instead of the hardware-specific drivers.
1995-09-12 07:43:58 +00:00
jonathan
2f387d871a Change the signature of interrupt-handlers to take a void *
(a pointer to the softc) and return an int (indicating spurious
interrupts or other conditions.)
1995-09-12 07:32:31 +00:00
jonathan
ab85287371 Correct a typo in the PROM id string of the sfb in sfb_match(). 1995-09-12 07:30:45 +00:00
jonathan
45d06a39e5 Change the signature of interrupt-handlers to take a void *
(a pointer to the softc) and return an int (indicating spurious
interrupts or other conditions.)
1995-09-12 07:28:06 +00:00
jonathan
f261206292 Add entry for MAXINE xcfb baseboard framebuffer to the MAXINE
turbochannel configuration table.
1995-09-12 07:27:07 +00:00
thorpej
d871ec0593 Changes from Scott Reynolds <scottr@plexus.com> to make this go on
little-endian machines (like the i386).
1995-09-12 07:13:06 +00:00
jtc
57e811876e sync with termcap 9.8.3 1995-09-11 23:11:40 +00:00
jonathan
9a914b5b01 Rename the Decstation 2100/3100 interrupt functions from "pmax_<func>"
to "kn01_<func>", to avoid confounding a model name (PMAX) with the name of the
entire port (pmax).


Change the signature of interrupt-handlers to take a void *
(a pointer to the softc) and return an int (indicating spurious
interrupts or other conditions.)

Pass softc pointers to the scsi and ethernet kn01 (DS_PMAX)  drivers,
rather than having unit numbers wired into the base-level interrupt
handler.
1995-09-11 22:03:00 +00:00
jonathan
6746e9f52e Rename the Decstation 2100/3100 interrupt functions from "pmax_<func>"
to "kn01_<func>", to avoid confounding a model name (PMAX) with the name of the
entire port (pmax).

Change the signature of interrupt-handlers to take a void *
(a pointer to the softc) and return an int (indicating spurious
interrupts or other conditions.)

Move consinit() from here to cpu_cons.c.

Eliminate the old old pmax-specific console driver, whcih didn't
know about vnodes. Use sys/dev/cons.c instead.

Delete the old 4.4BSD/pmax TURBOChannel probe routines and ROM-to-driver
name-mapping functions.
1995-09-11 21:58:23 +00:00
jonathan
eefb5e8d1b Rename the old 4.4bsd/pmax old-style config "struct device" to
"struct pmax_device" to avoid conflict with <sys/device.h>.

Move the glue routines for config.old pmax SCSI device probing from
autoconf.c to conf-glue.c.
1995-09-11 21:49:37 +00:00
jonathan
187de8a215 Change pmax rcons and low-level serial drivers to support the
old-style pmax polled input for cn_getc(). Needed because the
input side of rcons is not initialized in time for GENERIC kernels
to use it to read a root/swap devicename from /dev/console.

Fix an argument  glitch between consinit() and pminit().

Change consinit() to use PROM output for remote consoles, because
the serial drivers aren't yet initializable when consinit() is called.
1995-09-11 21:37:24 +00:00
jonathan
b4100ef220 Fix argument glitch between pminit() and consinit(). 1995-09-11 21:31:25 +00:00