Don't set bits that should be zero for SATA devices.

Old value made Linux think that it is PATA device with SATA bridge.

MFC after:	2 weeks
This commit is contained in:
Alexander Motin 2015-04-20 19:11:27 +00:00
parent a8da2875c6
commit fdd86701e5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=281782

View File

@ -930,7 +930,6 @@ handle_identify(struct ahci_port *p, int slot, uint8_t *cfis)
buf[88] = 0x7f;
if (p->xfermode & ATA_UDMA0)
buf[88] |= (1 << ((p->xfermode & 7) + 8));
buf[93] = (1 | 1 <<14);
buf[100] = sectors;
buf[101] = (sectors >> 16);
buf[102] = (sectors >> 32);