2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 15:21:32 +00:00

Added PCI_BASE_CLASS() macro

This commit is contained in:
Michael Brown 2007-01-08 03:32:41 +00:00
parent 5af4918356
commit 79c5f0ba04

View File

@ -311,6 +311,8 @@ struct pci_driver {
#define PCI_SLOT( devfn ) ( ( (devfn) >> 3 ) & 0x1f )
#define PCI_FUNC( devfn ) ( (devfn) & 0x07 )
#define PCI_BASE_CLASS( class ) ( (class) >> 16 )
/*
* PCI_ROM is used to build up entries in a struct pci_id array. It
* is also parsed by parserom.pl to generate Makefile rules and files