Commented out hacks to make the probe of USB ram sticks (which FreeBSD treats as scsi device) more verbose, while looking in the scsi_da.c quirks table to see what quirks FreeBSD knows the stick may have. *** 4.11-RELEASE/src/sys/cam/scsi/scsi_all.c.~1~ Thu Oct 30 16:06:35 2003 --- jhs/src/sys/cam/scsi/scsi_all.c Mon Jun 19 18:25:54 2006 *************** *** 2925,2930 **** --- 2925,2937 ---- entry = (struct scsi_inquiry_pattern *)table_entry; inq = (struct scsi_inquiry_data *)inqbuffer; + /* + * printf("JHS scsi_inquiry_match\n"); + * printf("JHS Target Vendor=\"%s\" Product=\"%s\" Revision=\"%s\"\n", + * inq->vendor, inq->product, inq->revision ); + * printf("JHS Table Vendor=\"%s\" Product=\"%s\" Revision=\"%s\"\n", + * entry->vendor, entry->product, entry->revision ); + */ if (((SID_TYPE(inq) == entry->type) || (entry->type == T_ANY)) *************** *** 2935,2940 **** --- 2942,2948 ---- sizeof(inq->product)) == 0) && (cam_strmatch(inq->revision, entry->revision, sizeof(inq->revision)) == 0)) { + /* printf("JHS scsi_inquiry_match: Matched a device\n"); */ return (0); } return (-1); ---------------- *** 6.0-RELEASE/src/sys/cam/scsi/scsi_da.c Thu Jun 9 19:35:04 2005 --- new-generic/src/sys/cam/scsi/scsi_da.c Wed Apr 26 18:24:56 2006 *** 1002,1007 **** --- 1055,1061 ---- /* * See if this device has any quirks. */ + /* printf("JHS See if this device has any quirks.\n"); */ match = cam_quirkmatch((caddr_t)&cgd->inq_data, (caddr_t)da_quirk_table, sizeof(da_quirk_table)/sizeof(*da_quirk_table),