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:
parent
a8da2875c6
commit
fdd86701e5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=281782
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user