]> git.ipfire.org Git - thirdparty/mdadm.git/blame - probe_roms.h
imsm: fix imsm_map.num_domains
[thirdparty/mdadm.git] / probe_roms.h
CommitLineData
39795f9c
DW
1/*
2 * probe_roms - scan for Adapter ROMS
3 *
4 * Copyright (C) 2008 Intel Corporation
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 *
15 * You should have received a copy of the GNU General Public License along with
16 * this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19
20void probe_roms_exit(void);
21int probe_roms_init(void);
22typedef int (*scan_fn)(const void *start, const void *end);
23int scan_adapter_roms(scan_fn fn);
24void probe_roms(void);