Commit Graph

168 Commits

Author SHA1 Message Date
pk 32c023995c Bring reset logic into interrupt state machine. 1995-10-03 17:32:12 +00:00
pk fcc53878ca Make fbrcons_init() resistant against SUN4s. 1995-10-02 21:48:21 +00:00
pk cfbe993b9b Update to use <machine/cgtworeg.h> 1995-10-02 21:44:51 +00:00
pk 38d1101ad3 Silly me.. there's already a <machine/cgtworeg.h> 1995-10-02 21:44:22 +00:00
pk fb58a99a8f Fix some bogus calls to {read/write}disklabel(). 1995-10-02 21:04:45 +00:00
pk 82434458cc Get some of the bugs out. Thanks to David Gilbert for testing. 1995-10-02 09:07:03 +00:00
chuck b47de9fb69 new "xy" disk device driver from me.
the "xy" driver runs Xylogics 450/451 SMD disk controllers.
1995-09-25 20:35:14 +00:00
chuck 1779adf6be minor cleanups:
- don't let pcyl go unassigned if we have a non-sunos disklabel.
		if nothing else, guess pcyl = ncyl + acyl.
	- don't use bogus disklabel data if disk label is invalid
		(xdgetdisklabel() now returns if label was ok or not).
	- move xddriver decl. before start of actual code (cleanup).
1995-09-25 20:12:44 +00:00
chuck 2aff99a206 bug fix: xddummystrat() was clearing all but B_BUSY when it should
have been clearing just B_BUSY (s/B_BUSY/~B_BUSY/).    this
	fixes hard hang when reading disklabel when booting system.
minor clean up: added a few prototypes and only fool with bootpath
	if booting the system (in xdattach).
1995-09-25 16:02:09 +00:00
chuck 4408ec71bf init bad144 table before we actually try and read anything from the
disk, rather than init'ing after reading block 0 [in case we get an
error reading block zero].
1995-09-24 00:27:59 +00:00
pk 4025edc861 Make this compile again by calling readdisklabel() with a dummy strategy routine.
XXX - need some reorganization to this from xdopen().
1995-09-18 23:26:39 +00:00
pk c5bc107461 cgtwo framebuffer, cloned from cgthree.c and sun3's cg2.c.
Note: untested, shall be considered a framework to get things started..
1995-09-17 20:53:43 +00:00
pk c92d076f5b Change interface to th `fb' pseudo device to not need the major device
number (a la sun3).
Put in new glue for rcons.
1995-09-17 20:43:39 +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
pk 9d7c17bfcb We have no need for `esp_print()'; the only child we expect is a `scsibus',
and there's nothing to say if it isn't there. Returning -1 is an error
anyway as noted by Chuck Cranor.
1995-09-11 19:41:21 +00:00
pk 0a5ab32e3d We have no need for `si_print()'; the only child we expect is a `scsibus',
and there's nothing to say if it isn't there.
1995-09-11 19:35:06 +00:00
pk bac2393fb0 Probe config registers correctly. 1995-09-06 12:35:38 +00:00
pk 003751356c Patches from Jason Thorpe to deal with 4/110 scsi (PR#1422). Also includes
bootpath glue (PR#1414) (this needs finishing off in disksubr.c).
1995-09-03 22:21:27 +00:00
pk a4e214aef0 If we're the console, say so in attach message. 1995-08-29 22:26:37 +00:00
pk a159e45699 Support for sun4 (from Jason Thorpe). 1995-08-29 22:20:01 +00:00
pk 15c28bc39a Sun4s must set baud rate on the mouse port (from Jason Thorpe). 1995-08-29 22:15:35 +00:00
pk 4bdcdaa4e3 define reserved bits in cfg2 & cfg3 registers correctly. 1995-08-29 20:05:22 +00:00
pk a3bb091c9e Do bootpath matching. 1995-08-18 22:03:59 +00:00
pk 7b7773a0c5 Use bootpath_store() to set next boot component; used in dk_establish()
to match `sd' devices against the PROM's boot path.

Detect DMA "overshoots" when handling odd-sized transfer sizes (e.g., xfers
from/to raw partitions), by using the "Transfer Pad" command when the
transfer count reaches zero.
1995-08-18 10:43:46 +00:00
pk ffbae23b6e Set `bootdv' if booted from the floppy drive. 1995-08-18 10:30:16 +00:00
pk f828a4b04c Add a debug flag.
Make `sc_dleft' a `ssize_t' since it's involved in a signed
comparison in esp.c.
1995-08-18 10:09:57 +00:00
pk 0596f75779 Use actual bus names (matches Chuck's bootpath code). 1995-08-18 08:20:26 +00:00
pk 42802ac2fa Drop si_minphys(). 1995-08-16 23:01:16 +00:00
pk ced95e1824 update from Chuck 1995-08-01 21:06:55 +00:00
cgd ffe4785a58 update SCSI minphys routines' definitions to match standard minphys()
definition and usage.
1995-07-24 07:33:32 +00:00
brezak f8b400c446 Change DEBUG-->AUDIO_DEBUG. PR# port-sparc/1241 1995-07-19 19:50:16 +00:00
pk cdbe7b1bc5 Have esp_minphys limit transfers to MAXPHYS bytes. 1995-07-13 12:45:22 +00:00
pk 05daa72b3c Move SUN4 console echo hack cnget() (from Chuck Cranor). 1995-07-13 12:02:19 +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 576bc844e5 Support KIOC_GETLAYOUT, so other than US keyboards can be dealt with better. 1995-07-06 05:35:34 +00:00
pk 12bdf1b787 KNFify a bit. 1995-07-05 19:55:02 +00:00
pk 9013a7a6e2 Add xxread/xxwrite. 1995-07-05 13:34:10 +00:00
cgd 2b71eae2c7 note that most of dev/ic's contents have changed names 1995-06-28 04:30:30 +00:00
pk c7df493055 SMD disk driver, from Chuck Cranor. 1995-06-26 23:06:57 +00:00
pk 47ce042b76 Small optimisation & 1 fewer depedency on zs_ctty. 1995-06-26 21:45:31 +00:00
pk 45eb69b276 Use ZS_DELAY() in a few more places (from Gordon Ross, cf. sun3/dev/zs.c). 1995-06-26 21:32:51 +00:00
pk ad8e3ed225 Sync with net/if.h 1995-06-23 13:19:44 +00:00
pk c0c45bba22 Try to recover from multi-byte messages sent by a target for which we
get an "Illegal command" (why is this?) when we try to pull it in.
On detection of this condition, we reset the SCSI bus and simply stop asking
this target for an identify messages, for now.
1995-06-02 15:46:47 +00:00
pk 4770e5e7c5 Try to recover from multi-byte messages sent by a target for which we
get an "Illegal command" (why is this?) when we try to pull it in.
On detection of this condition, we reset the SCSI bus and simply stop asking
this target for an identify messages, for now.
1995-06-02 13:43:30 +00:00
pk 8066369f08 Deal with v.3 proms (sigh). 1995-06-01 14:36:17 +00:00
pk 06ffffda03 Propagate bootpaths 1995-05-27 08:12:51 +00:00
pk 92414dd1c7 Use a different method to discriminate a 82077 from a 82072 (from Chris Torek);
using the NE7CMD_VERSION command is too unreliable.
1995-05-20 20:03:37 +00:00
pk c3d5b45b6e Name fd register structures more appropriately. 1995-05-20 19:59:52 +00:00
pk ed9d5444a2 Really test # of status bytes. 1995-05-16 17:02:00 +00:00
pk e01c46144d Minimalist implementation of KIOC[SG]KEY. 1995-05-10 16:04:55 +00:00