FreeBSD Bugzilla – Attachment 18345 Details for
Bug 33004
Patch for USB (uhci)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 637 bytes, created by
Thorsten Greiner
on 2001-12-19 13:50:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Thorsten Greiner
Created:
2001-12-19 13:50:02 UTC
Size:
637 bytes
patch
obsolete
>--- uhci_pci.c_orig Wed Dec 20 10:56:47 2001 >+++ uhci_pci.c Wed Dec 19 10:56:50 2001 >@@ -182,6 +182,7 @@ > uhci_softc_t *sc = device_get_softc(self); > int rid; > int err; >+ u_int32_t csr; > > rid = PCI_UHCI_BASE_REG; > sc->io_res = bus_alloc_resource(self, SYS_RES_IOPORT, &rid, >@@ -275,6 +276,11 @@ > uhci_pci_detach(self); > return ENXIO; > } >+ >+ /* Enable the device. */ >+ csr = pci_read_config(self, PCI_COMMAND_STATUS_REG, 4); >+ pci_write_config(self, PCI_COMMAND_STATUS_REG, >+ csr | PCIM_CMD_BUSMASTEREN, 4); > > /* Set the PIRQD enable bit and switch off all the others. We don't > * want legacy support to interfere with us
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 33004
: 18345 |
18346