Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2001 17:20:01 -0800 (PST)
From:      Lars Eggert <larse@ISI.EDU>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/32490: umass support for ATAPI [with patch]
Message-ID:  <200112140120.fBE1K1U09127@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/32490; it has been noted by GNATS.

From: Lars Eggert <larse@ISI.EDU>
To: freebsd-gnats-submit@FreeBSD.org, larse@ISI.EDU
Cc:  
Subject: Re: misc/32490: umass support for ATAPI [with patch]
Date: Thu, 13 Dec 2001 17:17:25 -0800

 This is an ALTERNATIVE patch that just adds the required quirks to 
 scsi_da.c, in case that's preferred. Either this or the original patch 
 work for me.
 
 Lars
 
 --- /usr/src/sys/cam/scsi/scsi_da.c     Sun Jul 29 17:48:20 2001
 +++ /usr/src/sys/cam/scsi/scsi_da.c     Mon Dec  3 14:52:55 2001
 @@ -246,6 +246,14 @@
                  /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
          },
          {
 +               /*
 +                * Pentax Optio 430 Digital Camera
 +                * (will probably also work for the Optio 330)
 +                */
 +               {T_DIRECT, SIP_MEDIA_REMOVABLE, "PENTAX", 
 "DIGITAL_CAMERA", "*"},
 +               /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
 +       },
 +       {
                  {T_OPTICAL, SIP_MEDIA_REMOVABLE, "FUJITSU", 
 "MCF3064AP", "*"},
                  /*quirks*/ DA_Q_NO_6_BYTE
          }
 --- /usr/src/sys/dev/usb/umass.c        Sat Jan  6 14:36:15 2001
 +++ /usr/src/sys/dev/usb/umass.c        Mon Dec  3 14:47:47 2001
 @@ -575,7 +575,7 @@
 
          dd = usbd_get_device_descriptor(udev);
 
 -#if 0
 +#if 1
          /* XXX ATAPI support is untested. Don't use it for the moment */
          if (UGETW(dd->idVendor) == USB_VENDOR_SHUTTLE
              && UGETW(dd->idProduct) == USB_PRODUCT_SHUTTLE_EUSB) {
 @@ -656,7 +656,7 @@
                  break;
          case USUBCLASS_SFF8020I:
          case USUBCLASS_SFF8070I:
 -#if 0
 +#if 1
                  /* XXX ATAPI support is untested. Don't use it for the 
 moment */
                  sc->proto |= PROTO_ATAPI;
                  break;
 
 -- 
 Lars Eggert <larse@isi.edu>               Information Sciences Institute
 http://www.isi.edu/larse/              University of Southern California
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112140120.fBE1K1U09127>