FreeBSD Bugzilla – Attachment 12679 Details for
Bug 24398
Unit number is not set in ahc driver.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 871 bytes, created by
iain
on 2001-01-17 03:50:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
iain
Created:
2001-01-17 03:50:00 UTC
Size:
871 bytes
patch
obsolete
>*** ahc_eisa.c.old Wed Jan 17 14:37:08 2001 >--- ahc_eisa.c Wed Jan 17 14:37:56 2001 >*************** >*** 126,131 **** >--- 126,134 ---- > if (ahc == NULL) > return (ENOMEM); > >+ /* Set the unit number of the ahc instance */ >+ ahc_set_unit(ahc, device_get_unit(dev)); >+ > /* Allocate a dmatag for our SCB DMA maps */ > /* XXX Should be a child of the PCI bus dma tag */ > error = bus_dma_tag_create(/*parent*/NULL, /*alignment*/1, >*** ahc_pci.c.old Wed Jan 17 14:36:26 2001 >--- ahc_pci.c Wed Jan 17 14:36:09 2001 >*************** >*** 98,103 **** >--- 98,106 ---- > if (ahc == NULL) > return (ENOMEM); > >+ /* Set the unit number of the ahc instance */ >+ ahc_set_unit(ahc, device_get_unit(dev)); >+ > /* Allocate a dmatag for our SCB DMA maps */ > /* XXX Should be a child of the PCI bus dma tag */ > error = bus_dma_tag_create(/*parent*/NULL, /*alignment*/1,
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 24398
: 12679