FreeBSD Bugzilla – Attachment 17937 Details for
Bug 32421
patch to support ATA66 Mode (UDMA4) on SiS 630 chipset
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.78 KB, created by
John L. Utz III
on 2001-12-01 06:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
John L. Utz III
Created:
2001-12-01 06:20:01 UTC
Size:
1.78 KB
patch
obsolete
>*** ata-dma44R.c Fri Nov 30 21:14:05 2001 >--- ata-dma.c Fri Nov 30 21:15:32 2001 >*************** >*** 514,521 **** > /* we could set PIO mode timings, but we assume the BIOS did that */ > break; > >! case 0x55131039: /* SiS 5591 */ >! if (udmamode >= 2 && pci_get_revid(parent) > 0xc1) { > error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0, > ATA_UDMA2, ATA_C_F_SETXFER, ATA_WAIT_READY); > if (bootverbose) >--- 514,521 ---- > /* we could set PIO mode timings, but we assume the BIOS did that */ > break; > >! case 0x55131039: /* SiS 5591,630 */ >! if (udmamode >= 2 && pci_get_revid(parent) > 0xc1) { /* 5591 */ > error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0, > ATA_UDMA2, ATA_C_F_SETXFER, ATA_WAIT_READY); > if (bootverbose) >*************** >*** 528,533 **** >--- 528,547 ---- > return; > } > } > if (udmamode >= 2 && pci_get_revid(parent) >= 0xd0) { /* 630 */ > error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0, > ATA_UDMA4, ATA_C_F_SETXFER, ATA_WAIT_READY); > if (bootverbose) > ata_printf(scp, device, > "%s setting UDMA2 on SiS chip\n", > (error) ? "failed" : "success"); > if (!error) { > pci_write_config(parent, 0x40 (devno << 1), 0xa301, 2); > scp->mode[ATA_DEV(device)] = ATA_UDMA2; > return; > } > } > > if (wdmamode >=2 && apiomode >= 4) { > error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0, > ATA_WDMA2, ATA_C_F_SETXFER, ATA_WAIT_READY);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32421
:
17936
| 17937