cd.9 (b02f4e9071c6704c8a49ccf7af846d1cb1881e81) cd.9 (d5a8819cb767682dbed8b6bd75a68f382c297603)
1.\" Copyright (c) 1997
2.\" John-Mark Gurney. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 76 unchanged lines hidden (view full) ---

85In general these types of quirks should not be
86added to the
87.Xr cd 4
88driver.
89The reason is that the driver does several things to attempt to
90determine whether the drive in question needs 10 byte commands.
91First, it
92issues a CAM Path Inquiry command to determine whether the protocol that
1.\" Copyright (c) 1997
2.\" John-Mark Gurney. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 76 unchanged lines hidden (view full) ---

85In general these types of quirks should not be
86added to the
87.Xr cd 4
88driver.
89The reason is that the driver does several things to attempt to
90determine whether the drive in question needs 10 byte commands.
91First, it
92issues a CAM Path Inquiry command to determine whether the protocol that
93the drive speaks typically only allows 10 byte commands. (ATAPI and USB
93the drive speaks typically only allows 10 byte commands.
94.Po
95ATAPI and USB
94are two prominent examples of protocols where you generally only want to
96are two prominent examples of protocols where you generally only want to
95send 10 byte commands.) Then, if it gets an ILLEGAL REQUEST error back
97send 10 byte commands.
98.Pc
99Then, if it gets an ILLEGAL REQUEST error back
96from a 6 byte MODE SENSE or MODE SELECT command, it attempts to send the 10
97byte version of the command instead.
98The only reason you would need a
99quirk is if your drive uses a protocol (e.g.
100.Tn SCSI )
101that typically doesn't have a problem with 6 byte commands.
102.El
103.Sh FILES

--- 21 unchanged lines hidden ---
100from a 6 byte MODE SENSE or MODE SELECT command, it attempts to send the 10
101byte version of the command instead.
102The only reason you would need a
103quirk is if your drive uses a protocol (e.g.
104.Tn SCSI )
105that typically doesn't have a problem with 6 byte commands.
106.El
107.Sh FILES

--- 21 unchanged lines hidden ---