"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "apt.c" between
hdparm-9.58.tar.gz and hdparm-9.60.tar.gz

About: hdparm - get/set ATA/SATA drive parameters under Linux.

apt.c  (hdparm-9.58):apt.c  (hdparm-9.60)
skipping to change at line 74 skipping to change at line 74
const char apt_ds_unsup[] = "unsupported"; const char apt_ds_unsup[] = "unsupported";
const struct apt_usb_id_entry apt_usb_id_map[] = { const struct apt_usb_id_entry apt_usb_id_map[] = {
{0x152d, 0x2329, 0x0100, apt_ds_jmicron, {0x152d, 0x2329, 0x0100, apt_ds_jmicron,
apt_jmicron_int_init, apt_jmicron_sg16}, /* JMicron JM20329 (USB->SAT A) */ apt_jmicron_int_init, apt_jmicron_sg16}, /* JMicron JM20329 (USB->SAT A) */
{0x152d, 0x2336, 0x0100, apt_ds_jmicron, {0x152d, 0x2336, 0x0100, apt_ds_jmicron,
apt_jmicron_int_init, apt_jmicron_sg16}, /* JMicron JM20336 (USB+SATA ->SATA, USB->2xSATA) */ apt_jmicron_int_init, apt_jmicron_sg16}, /* JMicron JM20336 (USB+SATA ->SATA, USB->2xSATA) */
{0x152d, 0x2338, 0x0100, apt_ds_jmicron, {0x152d, 0x2338, 0x0100, apt_ds_jmicron,
apt_jmicron_int_init, apt_jmicron_sg16}, /* JMicron JM20337/8 (USB->S ATA+PATA, USB+SATA->PATA) */ apt_jmicron_int_init, apt_jmicron_sg16}, /* JMicron JM20337/8 (USB->S ATA+PATA, USB+SATA->PATA) */
{0x152d, 0x2339, 0x0100, apt_ds_jmicron, {0x152d, 0x2339, 0x0100, apt_ds_jmicron,
apt_jmicron_int_init, apt_jmicron_sg16} /* JMicron JM20339 (USB->SAT apt_jmicron_int_init, apt_jmicron_sg16}, /* JMicron JM20339 (USB->SAT
A) */ A) */
{0x0c0b, 0xb157, 0x0100, apt_ds_jmicron,
apt_jmicron_int_init, apt_jmicron_sg16} /* ioSafe Solo */
}; };
int apt_detect (int fd, int verbose) int apt_detect (int fd, int verbose)
{ {
int err; int err;
unsigned int i; unsigned int i;
apt_data.is_apt = 0; apt_data.is_apt = 0;
err = sysfs_get_attr_recursive(fd, "idVendor", "%x", &apt_data.id.vendor_ id, NULL, verbose); err = sysfs_get_attr_recursive(fd, "idVendor", "%x", &apt_data.id.vendor_ id, NULL, verbose);
 End of changes. 1 change blocks. 
2 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)