Ignore:
Timestamp:
Mar 24, 2008, 2:43:42 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to ALSA 1.0.16 level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud-2.0/include/linux/pci.h

    r289 r305  
    1616#define LINUX_PCI_H
    1717
     18#include <linux/types.h>
     19#include <linux/list.h>
    1820#pragma pack(1) //!!! by vladest
    1921/*
     
    285287
    286288#include <asm/pci.h>
    287 
     289#define BUS_ID_SIZE             20
    288290#define DEVICE_COUNT_COMPATIBLE 4
    289291#define DEVICE_COUNT_IRQ        2
     
    293295typedef struct pci_dev;
    294296
     297
     298
    295299typedef struct device {
    296300    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);
    297305    unsigned int flags; /* GFP_XXX for continous and ISA types */
    298306#ifdef CONFIG_SBUS
    299307    struct sbus_dev *sbus;      /* for SBUS type */
    300308#endif
     309        void *private_data;
     310        struct device_driver *driver;
     311        struct pm_dev *pm_dev;
     312        char    bus_id[20];
    301313} device;
    302314
     
    648660
    649661unsigned long pci_get_dma_mask(struct pci_dev *);
    650 int pci_set_dma_mask(struct pci_dev *, unsigned long mask);
     662void pci_set_dma_mask(struct pci_dev *, unsigned long mask);
     663
    651664
    652665void *pci_get_driver_data (struct pci_dev *dev);
Note: See TracChangeset for help on using the changeset viewer.