bt_isa.c (47399) | bt_isa.c (47617) |
---|---|
1/* 2 * Product specific probe and attach routines for: 3 * Buslogic BT-54X and BT-445 cards 4 * 5 * Copyright (c) 1998, 1999 Justin T. Gibbs 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * | 1/* 2 * Product specific probe and attach routines for: 3 * Buslogic BT-54X and BT-445 cards 4 * 5 * Copyright (c) 1998, 1999 Justin T. Gibbs 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * |
29 * $Id: bt_isa.c,v 1.11 1999/05/08 21:59:23 dfr Exp $ | 29 * $Id: bt_isa.c,v 1.12 1999/05/22 15:45:47 dfr Exp $ |
30 */ 31 32#include <sys/param.h> 33#include <sys/systm.h> 34#include <sys/kernel.h> 35#include <sys/module.h> 36#include <sys/bus.h> 37 --- 83 unchanged lines hidden (view full) --- 121bt_isa_probe(device_t dev) 122{ 123 /* 124 * find unit and check we have that many defined 125 */ 126 int port_index; 127 int max_port_index; 128 | 30 */ 31 32#include <sys/param.h> 33#include <sys/systm.h> 34#include <sys/kernel.h> 35#include <sys/module.h> 36#include <sys/bus.h> 37 --- 83 unchanged lines hidden (view full) --- 121bt_isa_probe(device_t dev) 122{ 123 /* 124 * find unit and check we have that many defined 125 */ 126 int port_index; 127 int max_port_index; 128 |
129 /* No pnp support */ 130 if (isa_get_vendorid(dev)) 131 return (ENXIO); 132 |
|
129 port_index = 0; 130 max_port_index = BT_NUM_ISAPORTS - 1; 131 /* 132 * Bound our board search if the user has 133 * specified an exact port. 134 */ 135 bt_find_probe_range(isa_get_port(dev), &port_index, &max_port_index); 136 --- 203 unchanged lines hidden --- | 133 port_index = 0; 134 max_port_index = BT_NUM_ISAPORTS - 1; 135 /* 136 * Bound our board search if the user has 137 * specified an exact port. 138 */ 139 bt_find_probe_range(isa_get_port(dev), &port_index, &max_port_index); 140 --- 203 unchanged lines hidden --- |