Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / workbench / devs / networks / prism2 / pci.h
blobe3a461af28c29ef7b16e6b0dad17867750affd7e
1 /*
3 File: pci.h
4 Author: Neil Cafferkey
5 Copyright (C) 2004,2005 Neil Cafferkey
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful, but
13 WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston,
20 MA 02111-1307, USA.
25 #include <exec/types.h>
26 #include <utility/tagitem.h>
29 #include "device.h"
32 #define COR_VALUE 0x41
35 struct BusContext
37 struct DevUnit *unit;
38 VOID *card;
39 UPINT io_base;
40 const struct TagItem *unit_tags;
41 UWORD bus_type;
42 BOOL have_card;
43 APTR reset_handler;