Changeset 148 for trunk/src/os2ahci/pci.c
- Timestamp:
- Mar 27, 2013, 5:55:26 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/pci.c
r123 r148 147 147 148 148 static void add_pci_device (PCI_ID *pci_id, OH_DATA _far *data); 149 static UCHAR pci_read_conf (UCHAR bus, UCHAR dev_func, UCHAR indx,150 UCHAR size, ULONG _far *val);151 static UCHAR pci_write_conf (UCHAR bus, UCHAR dev_func, UCHAR indx, UCHAR size,152 ULONG val);153 149 static int oemhlp_call (UCHAR subfunction, OH_PARM _far *parm, 154 150 OH_DATA _far *data); … … 698 694 ret = RMAllocResource(rm_drvh, ad_info->rm_bars + i, &resource); 699 695 if (ret != RMRC_SUCCESS) { 700 cprintf("%s: couldn't register [MM]IO region (rc = %s)\n", 696 cprintf("%s: couldn't register [MM]IO region (rc = %s)\n", 701 697 drv_name, rmerr(ret)); 702 698 goto add_pci_fail; … … 813 809 * Read PCI configuration space register 814 810 */ 815 staticUCHAR pci_read_conf(UCHAR bus, UCHAR dev_func, UCHAR indx, UCHAR size,811 UCHAR pci_read_conf(UCHAR bus, UCHAR dev_func, UCHAR indx, UCHAR size, 816 812 ULONG _far *val) 817 813 { … … 838 834 * Write PCI configuration space register 839 835 */ 840 staticUCHAR pci_write_conf(UCHAR bus, UCHAR dev_func, UCHAR indx, UCHAR size,836 UCHAR pci_write_conf(UCHAR bus, UCHAR dev_func, UCHAR indx, UCHAR size, 841 837 ULONG val) 842 838 {
Note:
See TracChangeset
for help on using the changeset viewer.