diff options
author | Labun, Marcin <Marcin.Labun@intel.com> | 2011-03-10 01:41:46 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-03-10 01:41:46 +0100 |
commit | 3c8bfb5ddd08c929caf9bd6eb36e5c97d1e74dd1 (patch) | |
tree | 23586b09a8cfcd5896422fbc17193c9237bd86fb /probe_roms.h | |
parent | imsm : FIX: Assemble dirty array when reshape is in progress (diff) | |
download | mdadm-3c8bfb5ddd08c929caf9bd6eb36e5c97d1e74dd1.tar.xz mdadm-3c8bfb5ddd08c929caf9bd6eb36e5c97d1e74dd1.zip |
probe_roms: allow to probe expansion ROMs using vendor and device id.
Adds data offset to PCI expansion ROM Data Structure in resource
describing Expansion ROMs. This allows AHCI OROM scanning function
to identify AHCI OROM by device id 0x2822 and vendor id 0x8086.
Signed-off-by: Marcin Labun <marcin.labun@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'probe_roms.h')
-rw-r--r-- | probe_roms.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/probe_roms.h b/probe_roms.h index a1e291a1..6d70411a 100644 --- a/probe_roms.h +++ b/probe_roms.h @@ -19,6 +19,6 @@ void probe_roms_exit(void); int probe_roms_init(unsigned long align); -typedef int (*scan_fn)(const void *start, const void *end); +typedef int (*scan_fn)(const void *start, const void *end, const void *data); int scan_adapter_roms(scan_fn fn); void probe_roms(void); |