thorpej
75e554c27d
Implement two macros, scsipi_command() and scsipi_command_direct(), and
...
use them to hide the structure of the function pointers we jump through
to issue a command.
1997-10-18 19:50:51 +00:00
enami
d7d845c3d2
Cosmetic changes to keep coding style consistency in this directory;
...
- Indent with tab of width 8.
- Use four column to indent continuation line.
- Fold long line if possible.
- Use return (xx) instead of return xx.
- Compare pointer against NULL instead of testing like boolean.
- Delete whitespace at the end of line.
- Delete whitespace in front of function call operator.
- Delete whitespace after cast.
- Dereference a pointer to function explicitly.
- Add an empty line after local variable declaration.
- Use NULL instead of (char *)0.
- Dont use block for single statement.
1997-10-01 01:18:38 +00:00
enami
a0c4d0c2e6
Add new ioctl OSCIOCREPROBE and OSCIOCIDENTIFY to support binary
...
compatibility with NetBSD 1.2.
1997-09-19 00:59:49 +00:00
bouyer
6f3bab1f59
Merge scsipi branch in the mainline. This add support for ATAPI devices
...
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
1997-08-27 11:22:52 +00:00
augustss
81a10d7725
Don't require that a device is open for writing to perform a raw
...
SCSI command that just reads.
1997-04-26 22:24:46 +00:00
christos
9a2c8cf28c
revert previous kprintf change
1996-10-12 23:23:13 +00:00
christos
9beb92aad7
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:32:59 +00:00
thorpej
fcde57a426
For ioctl commands which may change the device's state, ensure that
...
the caller has the device open for writing.
1996-09-13 00:35:59 +00:00
christos
0bc63f486d
scsi prototypes
1996-02-14 21:46:52 +00:00
thorpej
249cddaaa7
Don't declare Debugger(). It's handled in <sys/systm.h>.
...
#include <sys/systm.h> where necessary, as suggested by Jonathan Stone.
Fixes PR #1511 .
1995-09-26 19:26:48 +00:00
mycroft
52bacd79d6
Fix invocation of scsi_scsi_cmd(), per John Kohl.
1995-01-30 15:54:42 +00:00
mycroft
feb5b29596
Remove old, misleading comment.
1995-01-23 17:56:26 +00:00
mycroft
8fd135209c
Numerous changes. Many bugs fixed, better autoconfig, a few new features.
1994-12-28 19:42:47 +00:00
mycroft
c1cbd9c635
Set UIO residual count.
1994-12-01 12:36:35 +00:00
mycroft
71ab8bb627
Always set the device number correctly, even though we don't need it.
1994-12-01 12:26:37 +00:00
mycroft
d18cbacd88
Redux.
1994-12-01 12:12:08 +00:00
mycroft
1066219897
Uncomment call to scsi_user_done(), and remove a duplicate biodone() (and
...
another si_free()).
1994-12-01 12:04:43 +00:00
mycroft
a10cbd7179
Remove the silly statically allocated array, and simply malloc the data
...
structures as needed. Also, put the buf in the malloc()ed area. Remove a
duplicate si_free() (though this was harmless before).
1994-12-01 11:53:56 +00:00
cgd
6ac2bbfc35
be more careful with types, also pull in headers where necessary.
1994-10-30 21:43:03 +00:00
mycroft
28cbceeec7
Make this more likely to work.
1994-10-23 19:24:01 +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
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
a69dd750a2
b_un.b_addr -> b_data
1994-06-16 01:07:30 +00:00
mycroft
58dfc9dffc
Fix various types. Remove some outdated flags.
1994-04-11 03:53:58 +00:00
mycroft
2e5a28159f
New SCSI system, based on Julian's more recent work.
1994-03-29 04:29:20 +00:00
mycroft
8caf0ca62b
Use new struct buf fields.
1993-11-29 20:33:25 +00:00
mycroft
e985f4041a
Still under construction...
1993-11-24 09:45:04 +00:00
mycroft
37548328a1
Under construction...
1993-11-24 04:52:44 +00:00