if_xe_pccard.c (121099) | if_xe_pccard.c (121521) |
---|---|
1/* 2 * Copyright (c) 2002 Takeshi Shibagaki 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> | 1/* 2 * Copyright (c) 2002 Takeshi Shibagaki 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/dev/xe/if_xe_pccard.c 121099 2003-10-14 22:51:35Z rsm $"); | 28__FBSDID("$FreeBSD: head/sys/dev/xe/if_xe_pccard.c 121521 2003-10-26 00:51:40Z imp $"); |
29 30/* xe pccard interface driver */ 31 32#include <sys/param.h> 33#include <sys/systm.h> 34#include <sys/kernel.h> 35#include <sys/socket.h> 36 --- 176 unchanged lines hidden (view full) --- 213 * inserted or otherwise powers up. 214 */ 215static int 216xe_pccard_probe(device_t dev) 217{ 218 struct xe_softc *scp = (struct xe_softc *) device_get_softc(dev); 219 u_int32_t vendor,prodid,prod; 220 u_int16_t prodext; | 29 30/* xe pccard interface driver */ 31 32#include <sys/param.h> 33#include <sys/systm.h> 34#include <sys/kernel.h> 35#include <sys/socket.h> 36 --- 176 unchanged lines hidden (view full) --- 213 * inserted or otherwise powers up. 214 */ 215static int 216xe_pccard_probe(device_t dev) 217{ 218 struct xe_softc *scp = (struct xe_softc *) device_get_softc(dev); 219 u_int32_t vendor,prodid,prod; 220 u_int16_t prodext; |
221 char *cis3_str=NULL; | 221 const char *cis3_str=NULL; |
222 struct xe_vendor_table *vendor_itm; 223 struct xe_card_type_table *card_itm; 224 int i; 225 226#if XE_DEBUG > 1 227 char* vendor_str = NULL; 228 char* product_str = NULL; 229 char* cis4_str = NULL; --- 180 unchanged lines hidden --- | 222 struct xe_vendor_table *vendor_itm; 223 struct xe_card_type_table *card_itm; 224 int i; 225 226#if XE_DEBUG > 1 227 char* vendor_str = NULL; 228 char* product_str = NULL; 229 char* cis4_str = NULL; --- 180 unchanged lines hidden --- |