Commit Graph

53 Commits

Author SHA1 Message Date
mycroft
8887de9230 opri --> s 1995-08-12 22:58:01 +00:00
mycroft
8a9880e714 Fix oversight in previous. 1995-08-12 21:36:46 +00:00
mycroft
80d7b0695a minphys() functions really should return void. 1995-08-12 20:30:45 +00:00
cgd
3301cf82fd update SCSI minphys routines' definitions to match standard minphys()
definition and usage.
1995-07-24 06:55:37 +00:00
mycroft
7263209ce6 Make each disk and tape driver define its own read and write functions.
Deprecate rawread() and rawwrite() completely.  Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
cgd
d093e5d8b8 make dump stubs consistent 1995-06-26 05:15:33 +00:00
mycroft
12a1b9ad67 Add a rogue entry for the ANRITSU DMT780. 1995-03-25 18:41:42 +00:00
mycroft
d78ddddef6 Update the rogue entry for ancient drivers to match reality. 1994-12-30 05:23:49 +00:00
mycroft
f2909dc62b Increase the st_space() timeout. 1994-12-28 19:55:50 +00:00
mycroft
8fd135209c Numerous changes. Many bugs fixed, better autoconfig, a few new features. 1994-12-28 19:42:47 +00:00
mycroft
284d17e8f0 Complete last change. 1994-11-22 00:14:24 +00:00
mycroft
c81c637ee3 Return EIO when the drive is empty. 1994-11-21 11:37:26 +00:00
mycroft
7a1dcbfac6 Clean up open and close routines somewhat. 1994-11-21 11:28:47 +00:00
mycroft
fd32202948 Replace dev_unit with device_softc in scsi_link. Change argument to foostart()
to void*.
1994-11-21 10:39:09 +00:00
cgd
6ac2bbfc35 be more careful with types, also pull in headers where necessary. 1994-10-30 21:43:03 +00:00
mycroft
e5d974c51f First cut at making user-level SCSI commands work. This is untested.
Partly from John Brezak.
1994-10-20 20:31:23 +00:00
deraadt
692c724215 un-aligned access is not cool on some processors 1994-08-12 08:57:18 +00:00
mycroft
3e685aec5c Change ST_Q_NEEDS_PAGE_0 to something more generic. 1994-08-09 18:50:17 +00:00
cgd
fccfa11af5 New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:39:25 +00:00
mycroft
72679b6801 Fix a comment. 1994-06-19 03:29:37 +00:00
chopps
7d3285c3d4 resolve confusion over who owns the buf after calling scsi_scsi_cmd() 1994-06-16 15:57:39 +00:00
mycroft
a69dd750a2 b_un.b_addr -> b_data 1994-06-16 01:07:30 +00:00
mycroft
02ec14c597 Add dummy *dump() routines. 1994-05-11 09:49:17 +00:00
chopps
95faa87c60 remove union's from sense_data struct, conditionaly define RAW_PART 1994-05-09 07:40:47 +00:00
mycroft
efbbf1b09f Deal with variable-length drives that don't specify a maximum block size.
c.f. SCSI 2 protocol definition.
1994-04-24 05:40:05 +00:00
mycroft
eee893f9ea Various cleanup, but no functional differences. 1994-04-13 05:43:19 +00:00
mycroft
58dfc9dffc Fix various types. Remove some outdated flags. 1994-04-11 03:53:58 +00:00
mycroft
f16c2e25f8 Add another rogue... 1994-04-10 00:07:02 +00:00
mycroft
100fdbd6d1 This line is redundant for LD_UNLOAD (only one use, and it does this itself)
but breaks LD_RETEN, forcing a reload of the driver state on the next I/O
operation.  Therefore, it goes away.
1994-04-05 22:39:37 +00:00
mycroft
8d0730c420 Reload the tape after retension. 1994-04-05 22:18:00 +00:00
mycroft
44f11a89b3 Implement MTRETEN (untested). 1994-04-05 22:08:09 +00:00
mycroft
692dc0e998 Implement MTEOM, currently untested. 1994-04-05 21:59:49 +00:00
mycroft
96f452cd84 Deal with Mark Weaver's rogue tape drive. 1994-04-01 06:49:22 +00:00
mycroft
2e5a28159f New SCSI system, based on Julian's more recent work. 1994-03-29 04:29:20 +00:00
mycroft
42e64dc254 Remove another use of b_actl. 1994-02-06 08:01:45 +00:00
mycroft
efdb9fa688 *strategy functions return void. 1994-01-11 17:19:37 +00:00
mycroft
b4d3382694 Canonicalize all #includes. 1993-12-17 07:56:32 +00:00
mycroft
4862b84c92 Add RCS identifiers (this time on the correct side of the branch), and
incorporate recent changes in netbsd-0-9 branch.
1993-08-01 19:22:24 +00:00
cgd
7b2afa7fe6 incorporate changes from 0-9-base to 0-9-ALPHA 1993-07-28 02:20:34 +00:00
cgd
30c2a20262 patches from allen briggs to fix a minor bug in *attach() 1993-07-19 11:30:49 +00:00
cgd
cb880ccb94 fix evil interaction with new physio; don't set error bit for short reads. 1993-07-09 04:28:55 +00:00
andrew
1b69e917eb ANSIfications. 1993-06-27 06:59:20 +00:00
andrew
280a747d4e woops - another typo. 1993-06-16 10:39:35 +00:00
deraadt
1311db833c whoops. typo. 1993-06-16 04:31:37 +00:00
deraadt
a6d9adf224 fix to intuit the maximum number of scsi units available on a device
driver. this piece at least, should be safe from changing sizeof(dev_t)
1993-06-16 03:39:30 +00:00
cgd
c59cd967ff add rcsids and clean up file headers 1993-05-20 03:46:09 +00:00
deraadt
a0bcb17e60 support for making dev->id_alive be set, this is for iostat to
find disk devices. wee bit of a kludge. sub-device attach()
routines must now return 1 for successful attach(), 0 otherwise.
Other bsd's do this too..
1993-05-04 08:27:29 +00:00
mycroft
f67957329b Fix up error messages and return values. 1993-04-22 00:35:02 +00:00
mycroft
c2f7555fda Display more meaningful message on SCSI `unit attention'. 1993-04-20 10:51:51 +00:00
deraadt
bee6f373e4 fixed various bugs like cdattach() returning garbage. 1993-04-12 12:10:28 +00:00