Re: [PATCH] ata.h: Don't do a SATA check for 40wire_relaxed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > -	if (ata_id_is_sata(dev_id))
> > -		return 0;	/* SATA */
> >  	if ((dev_id[93] & 0x2000) == 0x2000)
> >  		return 0;	/* 80 wire */
> >  	return 1;
> 
> I've been thinking a lot about this, and I am really wondering if we 
> should fix up the IDENTIFY DEVICE page instead?

You want to intercept all the SG_IO calls to do an ATAPI identify and
make them lie ? I'm not personally sure thats a good idea.

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux