FreeBSD Bugzilla – Attachment 31740 Details for
Bug 52756
4.8 RELEASE installer(generic kernel) stacks while boot, resetti
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.49 KB, created by
Takayuki HOSODA
on 2003-05-28 14:50:12 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Takayuki HOSODA
Created:
2003-05-28 14:50:12 UTC
Size:
1.49 KB
patch
obsolete
>*** ata-dma.c.orig Wed Oct 2 23:13:38 2002 >--- ata-dma.c Fri May 16 05:23:58 2003 >*************** >*** 504,509 **** >--- 504,510 ---- > ata_find_dev(parent, 0x06401039, 0) || /* SiS 640 */ > ata_find_dev(parent, 0x06451039, 0) || /* SiS 645 */ > ata_find_dev(parent, 0x06501039, 0) || /* SiS 650 */ >+ ata_find_dev(parent, 0x06551039, 0) || /* SiS 655 */ > ata_find_dev(parent, 0x07301039, 0) || /* SiS 730 */ > ata_find_dev(parent, 0x07331039, 0) || /* SiS 733 */ > ata_find_dev(parent, 0x07351039, 0) || /* SiS 735 */ >*************** >*** 513,518 **** >--- 514,531 ---- > int8_t reg = 0x40 + (devno << 1); > int16_t val = pci_read_config(parent, reg, 2) & 0x0fff; > >+ if (udmamode >= 6) { >+ error = ata_command(atadev, ATA_C_SETFEATURES, 0, >+ ATA_UDMA6, ATA_C_F_SETXFER, ATA_WAIT_READY); >+ if (bootverbose) >+ ata_prtdev(atadev, "%s setting UDMA6 on SiS chip\n", >+ (error) ? "failed" : "success"); >+ if (!error) { >+ pci_write_config(parent, reg, val | 0x7000, 2); >+ atadev->mode = ATA_UDMA6; >+ return; >+ } >+ } > if (udmamode >= 5) { > error = ata_command(atadev, ATA_C_SETFEATURES, 0, > ATA_UDMA5, 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 52756
: 31740 |
31741