diff options
author | msmith <msmith@FreeBSD.org> | 1998-03-20 23:14:52 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1998-03-20 23:14:52 +0000 |
commit | 9401ee1524a583fffc088f857766ea71306d6709 (patch) | |
tree | d69b20a1584a586e8b9020c5896a00ef6ff3a9f1 /sys/i386/isa/wfd.c | |
parent | 47d83890252be97151323b157576462da1bd4da9 (diff) | |
download | FreeBSD-src-9401ee1524a583fffc088f857766ea71306d6709.zip FreeBSD-src-9401ee1524a583fffc088f857766ea71306d6709.tar.gz |
Remove unuseful (and annoying) ENXIO printf.
Diffstat (limited to 'sys/i386/isa/wfd.c')
-rw-r--r-- | sys/i386/isa/wfd.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/i386/isa/wfd.c b/sys/i386/isa/wfd.c index 4734300..ed84f5f 100644 --- a/sys/i386/isa/wfd.c +++ b/sys/i386/isa/wfd.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: wfd.c,v 1.7 1998/02/09 06:08:44 eivind Exp $ + * $Id: wfd.c,v 1.8 1998/02/13 22:41:00 pst Exp $ */ /* @@ -104,8 +104,7 @@ struct cappage { unsigned page_code :6; /* Page code - Should be 0x5 */ #define CAP_PAGE 0x05 unsigned reserved1_6 :1; /* Reserved */ - unsigned ps :1; /* The device is capable of savi -ng the page */ + unsigned ps :1; /* The device is capable of saving the page */ u_char page_length; /* Page Length - Should be 0x1e */ u_short transfer_rate; /* In kilobits per second */ u_char heads, sectors; /* Number of heads, Number of sectors per track */ @@ -337,10 +336,8 @@ int wfdbopen (dev_t dev, int flags, int fmt, struct proc *p) /* Check that the device number is legal * and the ATAPI driver is loaded. */ - if (lun >= wfdnlun || ! atapi_request_immediate) { - printf("ENXIO lun=%d, wfdnlun=%d, im=%d\n", lun, wfdnlun, atapi_request_immediate); + if (lun >= wfdnlun || ! atapi_request_immediate) return (ENXIO); - } t = wfdtab[lun]; t->flags &= ~F_MEDIA_CHANGED; |