if_fe_cbus.c (67442) | if_fe_cbus.c (68566) |
---|---|
1/* 2 * All Rights Reserved, Copyright (C) Fujitsu Limited 1995 3 * 4 * This software may be used, modified, copied, distributed, and sold, in 5 * both source and binary form provided that the above copyright, these 6 * terms and the following disclaimer are retained. The name of the author 7 * and/or the contributor may not be used to endorse or promote products 8 * derived from this software without specific prior written permission. --- 5 unchanged lines hidden (view full) --- 14 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 15 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 16 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION. 17 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 18 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 19 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 20 * SUCH DAMAGE. 21 * | 1/* 2 * All Rights Reserved, Copyright (C) Fujitsu Limited 1995 3 * 4 * This software may be used, modified, copied, distributed, and sold, in 5 * both source and binary form provided that the above copyright, these 6 * terms and the following disclaimer are retained. The name of the author 7 * and/or the contributor may not be used to endorse or promote products 8 * derived from this software without specific prior written permission. --- 5 unchanged lines hidden (view full) --- 14 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 15 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 16 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION. 17 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 18 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 19 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 20 * SUCH DAMAGE. 21 * |
22 * $FreeBSD: head/sys/dev/fe/if_fe_cbus.c 67442 2000-10-22 16:48:08Z nyan $ | 22 * $FreeBSD: head/sys/dev/fe/if_fe_cbus.c 68566 2000-11-10 14:05:47Z nyan $ |
23 */ 24 25#include "opt_fe.h" 26#include "opt_inet.h" 27#include "opt_ipx.h" 28 29#include <sys/param.h> 30#include <sys/systm.h> --- 60 unchanged lines hidden (view full) --- 91 */ 92 93static int 94fe_isa_probe(device_t dev) 95{ 96 struct fe_softc * sc; 97 int error; 98 | 23 */ 24 25#include "opt_fe.h" 26#include "opt_inet.h" 27#include "opt_ipx.h" 28 29#include <sys/param.h> 30#include <sys/systm.h> --- 60 unchanged lines hidden (view full) --- 91 */ 92 93static int 94fe_isa_probe(device_t dev) 95{ 96 struct fe_softc * sc; 97 int error; 98 |
99 /* Check isapnp ids */ 100 if (isa_get_vendorid(dev)) 101 return (ENXIO); 102 |
|
99 /* Prepare for the softc struct. */ 100 sc = device_get_softc(dev); 101 sc->sc_unit = device_get_unit(dev); 102 103 /* Probe for supported boards. */ 104#ifdef PC98 105 if ((error = fe_probe_re1000(dev)) == 0) 106 goto end; --- 905 unchanged lines hidden --- | 103 /* Prepare for the softc struct. */ 104 sc = device_get_softc(dev); 105 sc->sc_unit = device_get_unit(dev); 106 107 /* Probe for supported boards. */ 108#ifdef PC98 109 if ((error = fe_probe_re1000(dev)) == 0) 110 goto end; --- 905 unchanged lines hidden --- |