bde
e8882fb411
Forward-declare a struct tag so that this doesn't depend on a side effect
...
of indirectly including <i386/isa/isa_device.h>.
1996-06-23 15:02:02 +00:00
joerg
33d0c3d6f4
Dump the timeout for st_erase().
...
Fixes PR # kern/1341: Bug fix for SCSI tape
Submitted by: tundra@tundrware.com
1996-06-22 14:57:55 +00:00
joerg
430ed8358f
Miscellaneous cleanup and minor fixes by Shunsuke and by me.
...
. use new-style options
. introduce an option OD_AUTO_TURNOFF
. try to use the native geometry as reported by the drive instead of
a faked on -- MOs do have a ``classical'' geometry
. make the scsi_start_unit() actually working
. some cosmetic fixes
Submitted by: akiyama@kme.mei.co.jp (Shunsuke Akiyama)
1996-06-16 19:58:24 +00:00
joerg
2ed1eb601c
Make sure to update the SDEV_MEDIA_LOADED flag also when working on
...
the control device.
Submitted by: akiyama@kme.mei.co.jp (Shunsuke Akiyama)
1996-06-16 19:54:02 +00:00
asami
36a1932601
The Great PC98 Merge.
...
All new code is "#ifdef PC98"ed so this should make no difference to
PC/AT (and its clones) users.
Ok'd by: core
Submitted by: FreeBSD(98) development team
1996-06-14 11:02:28 +00:00
gpalmer
57c3ebc617
Clean up -Wunused warnings.
...
Reviewed by: bde
1996-06-12 05:11:41 +00:00
jfieber
ca4dbe0a3e
Append a * to the model field of the Archive Viper quirk entry.
...
Without the wildcard, the drive would never match the entry.
Also add a comment describing how matching takes place to help avoid
problems like this.
1996-06-03 14:25:11 +00:00
joerg
9308fdf499
Correct a few mode page definitions according to the SCSI-2 specs.
...
Not yet used, but might perhaps be used in od(4) some day.
1996-05-19 19:29:09 +00:00
joerg
2ff893a7b2
This patch updates sys/scsi/od.c:
...
* Improve ficticious geometry translation.
* CD compatible ioctl's, CDIOCALLOW, CDIOCPREVENT and CDIOCEJECT.
* Additional sense code handling for some drives.
Reviewed by: joerg
Submitted by: akiyama@kme.mei.co.jp (Shunsuke Akiyama)
1996-05-19 19:26:21 +00:00
phk
5d01dc3d50
Another sweep over the pmap/vm macros, this time with more focus on
...
the usage. I'm not satisfied with the naming, but now at least there is
less bogus stuff around.
1996-05-03 21:01:54 +00:00
phk
a65c6cdecd
Don't fiddle page tables by hand, use pmap_enter.
...
(copied from wd.c)
1996-05-02 22:20:52 +00:00
phk
5a6fb3a7da
removed:
...
CLBYTES PD_SHIFT PGSHIFT NBPG PGOFSET CLSIZELOG2 CLSIZE pdei()
ptei() kvtopte() ptetov() ispt() ptetoav() &c &c
new:
NPDEPG
Major macro cleanup.
1996-05-02 14:21:14 +00:00
bde
a807e1724b
Don't depend on <sys/types.h> including <sys/cdefs.h>.
1996-04-19 17:39:57 +00:00
bde
cfdfb3c281
Removed now-unused #includes of <machine/cpu.h>. They were for bootverbose
...
being declared in the wrong place.
1996-04-07 17:32:42 +00:00
scrappy
e14745c8ea
Change dev_link() to devfs_link()
1996-04-02 04:54:26 +00:00
scrappy
4673aad9a1
Changed use of devfs_add_devsw() to devfs_add_devswf()
...
Changed DEVFS structure devfs_token so that adding the devices is
a simple matter of a 4 line for loop versus 16 lines of code
Reviewed by: julian@freebsd.org
1996-04-01 02:12:53 +00:00
gibbs
c6c3051dbc
Implement the XS_SELTIMEOUT error code. This causes the SCSI code to
...
not retry again and should be used when a device times out during selection
(ie is not on the bus). This should speed up the boot sequence.
1996-03-31 03:19:09 +00:00
bde
6043e95113
Fixed devfs group and permissions of some more disk devices.
...
Added devfs cd control device.
1996-03-29 11:57:52 +00:00
scrappy
6bebd36987
Fixed missing variable 'name' for DEVFS code
1996-03-29 04:35:09 +00:00
scrappy
d163509006
Fixed a Typo
1996-03-28 16:51:12 +00:00
scrappy
0567ca9a10
Using devfs_add_devswf() instead of devfs_add_devsw()
...
Reviewed by: julian@freebsd.org
1996-03-28 14:33:59 +00:00
bde
1e44bb87f6
Fixed name of pt device (it has a unit number). devfs still only creates
...
one.
Added control device.
1996-03-27 20:07:29 +00:00
bde
a0f80d71f4
Fixed group of disk devices (was wheel or games, now operator).
...
Added scsi control devices.
Converted almost everything that I changed to use devfs_add_devswf()
and verbose id macros.
st.c:
Renamed enrst* to erst* since that's what the current name is (enrst
seems to be an old name).
1996-03-27 18:50:10 +00:00
dg
afcfb06cbe
Fixed some missing int32 -> int32_t
1996-03-10 18:17:54 +00:00
jkh
56e15a101e
u_int8 -> u_int8_t
1996-03-10 12:52:47 +00:00
gibbs
b37f58736e
Cleanse the SCSI subsystem of its internally defined types
...
u_int32, u_int16, u_int8, int32, int16, int8.
Use the system defined *_t types instead.
1996-03-10 07:13:15 +00:00
peter
eecb8eb3ab
Fix broken SCSI_DELAY option.. (missing #include "opt_scsi.h")
...
Pointed out by: Boyd Faulkner <faulkner@asgard.bga.com>
1996-03-09 07:13:57 +00:00
peter
13a0014ac8
Add more options into the conf/options and i386/conf/options.i386 files
...
and the #include hooks so that 'make depend' is more useful. This
covers most of the options I regularly use (but not all) and some other
easy ones.
1996-03-02 18:24:13 +00:00
dyson
5f6f44df5a
More b_flags fixes.
1996-03-02 01:49:51 +00:00
julian
0b83253216
cosmetic fixes plus bring the cdevsw and bdevsw entries
...
into line with the new form.
1996-02-19 09:36:23 +00:00
julian
82e0bf3759
allow the default tape unit to try figure out what it is rather than
...
forcing it to 512 byte blocks....
1996-02-19 09:26:07 +00:00
se
387ee3bccd
Add: CDU-8003A aka Apple CDROM-300
...
Submitted by: Michael Reifenberger <root@totum.plaut.de>
1996-02-17 23:59:24 +00:00
ache
63aca4a0d9
Physically ask for leadout entry instead of asking of
...
last_track + 1 entry, some drives don't understand it
1996-02-13 03:46:48 +00:00
ache
89cd3c7ebf
Recognize NRC MBR-7.4 too
1996-02-12 23:22:33 +00:00
pst
67857c5707
Close kern/614 - wait up to an hour for a tape operation like "fsf" (slow drives)
1996-02-08 06:23:49 +00:00
joerg
660a4cf0c0
Add a quirk record for the Tandberg 42XX series. Not only that these
...
drives require ST_Q_SNS_HLP, they also wrongly accept a blocksize of
1024 in the first place (for a QIC-150 cartridge), but complain later
about it. The hack is to only probe for 512 for them.
Reorder the entries in st_decide_mode() so that QIC >= 525 is properly
accepted as variable blocksize.
1996-02-03 13:31:13 +00:00
ache
a724de6de3
Simplify READTOCENTRYS by removing fake leadout code,
...
SCSI system do it for us
1996-02-02 23:43:40 +00:00
joerg
e23399eaf5
Add the HP4020i CD-R as a known device.
...
Reorder the CD-R entries in knowndevs[].
Submitted by: fred@jjarray.umd.edu (Fred Cawthorne)
1996-02-02 22:59:48 +00:00
joerg
e13396326f
Add the Emulex MD21 ESDI-to-SCSI bridge as a known device (with more than
...
one LUN).
Submitted by: Wilko Bulte
1996-02-02 22:57:27 +00:00
ache
00cb60f46f
I forget the fact that cd_read_toc reads toc header in any case
1996-02-02 20:43:11 +00:00
ache
b22c9963d3
Remove statement that does nothing now, forget in my prev. commit
1996-02-01 17:35:15 +00:00
ache
01dd9d5479
Oops, pick wrong volume size for leadout entry
1996-02-01 16:22:58 +00:00
jkh
c035295183
Add an entry for my HP Model 4020i CDR drive.
1996-01-31 07:32:11 +00:00
ache
19ebe9bcfb
Don't convert LBA to host order, they must stay in network order
...
as old code does.
1996-01-30 23:11:06 +00:00
ache
a6fe55033b
OOPS, forget to adjust starting track to not physically read
...
leadout entry
1996-01-30 16:38:30 +00:00
ache
b907f5fc5a
Use ntohs/ntohl when reading TOC instead of hardcoded byte swapping.
...
Put fake entry len for MSF format too.
1996-01-30 16:12:18 +00:00
ache
4801968f5e
READTOCENTRYS: make fake leadout entry
1996-01-30 14:30:43 +00:00
ache
37f4a0aab1
READTOCENTRYS: handle 0 and lead out requests, add argument checking
1996-01-30 12:59:00 +00:00
joerg
12324b6255
Remove redundant declaration for worminit(). Dunno why my config(8)
...
didn't generate it, but it's supposed to.
1996-01-29 19:46:26 +00:00
gibbs
cab528dc9e
Prevent media eject on first open and re-enable ejection on last close.
...
The previous behavior was based on the lifetime of a "mount session"
which isn't very obvious.
1996-01-29 03:19:23 +00:00