|
@@ -74,15 +74,6 @@ struct pci_dev;
|
|
|
/* This is always fine. */
|
|
|
#define pci_dac_dma_supported(pci_dev, mask) (0)
|
|
|
|
|
|
-/*
|
|
|
- * These macros should be used after a pci_map_sg call has been done
|
|
|
- * to get bus addresses of each of the SG entries and their lengths.
|
|
|
- * You should only work with the number of sg entries pci_map_sg
|
|
|
- * returns.
|
|
|
- */
|
|
|
-#define sg_dma_address(sg) ((sg)->dma_address)
|
|
|
-#define sg_dma_len(sg) ((sg)->length)
|
|
|
-
|
|
|
/* Return the index of the PCI controller for device. */
|
|
|
static inline int pci_controller_num(struct pci_dev *dev)
|
|
|
{
|