Changeset 305 for GPL/branches/uniaud-2.0/include/linux/pci.h
- Timestamp:
- Mar 24, 2008, 2:43:42 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud-2.0/include/linux/pci.h
r289 r305 16 16 #define LINUX_PCI_H 17 17 18 #include <linux/types.h> 19 #include <linux/list.h> 18 20 #pragma pack(1) //!!! by vladest 19 21 /* … … 285 287 286 288 #include <asm/pci.h> 287 289 #define BUS_ID_SIZE 20 288 290 #define DEVICE_COUNT_COMPATIBLE 4 289 291 #define DEVICE_COUNT_IRQ 2 … … 293 295 typedef struct pci_dev; 294 296 297 298 295 299 typedef struct device { 296 300 struct pci_dev *pci; /* for PCI and PCI-SG types */ 301 struct device * parent; 302 struct bus_type * bus; /* type of bus device is on */ 303 char bus_id[BUS_ID_SIZE]; /* position on parent bus */ 304 void (*release)(struct device * dev); 297 305 unsigned int flags; /* GFP_XXX for continous and ISA types */ 298 306 #ifdef CONFIG_SBUS 299 307 struct sbus_dev *sbus; /* for SBUS type */ 300 308 #endif 309 void *private_data; 310 struct device_driver *driver; 311 struct pm_dev *pm_dev; 312 char bus_id[20]; 301 313 } device; 302 314 … … 648 660 649 661 unsigned long pci_get_dma_mask(struct pci_dev *); 650 int pci_set_dma_mask(struct pci_dev *, unsigned long mask); 662 void pci_set_dma_mask(struct pci_dev *, unsigned long mask); 663 651 664 652 665 void *pci_get_driver_data (struct pci_dev *dev);
Note:
See TracChangeset
for help on using the changeset viewer.