if_fe_pccard.c (142136) | if_fe_pccard.c (142137) |
---|---|
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. --- 8 unchanged lines hidden (view full) --- 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 */ 23 24#include <sys/cdefs.h> | 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. --- 8 unchanged lines hidden (view full) --- 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 */ 23 24#include <sys/cdefs.h> |
25__FBSDID("$FreeBSD: head/sys/dev/fe/if_fe_pccard.c 142136 2005-02-20 19:38:38Z imp $"); | 25__FBSDID("$FreeBSD: head/sys/dev/fe/if_fe_pccard.c 142137 2005-02-20 19:40:29Z imp $"); |
26 27#include <sys/param.h> 28#include <sys/kernel.h> 29#include <sys/socket.h> 30#include <sys/systm.h> 31#include <sys/module.h> 32 33#include <sys/bus.h> --- 237 unchanged lines hidden (view full) --- 271 * name _tdk is just for a historical reason. :-) 272 */ 273static int 274fe_probe_tdk (device_t dev, const struct fe_pccard_product *pp) 275{ 276 struct fe_softc *sc = device_get_softc(dev); 277 278 static struct fe_simple_probe_struct probe_table [] = { | 26 27#include <sys/param.h> 28#include <sys/kernel.h> 29#include <sys/socket.h> 30#include <sys/systm.h> 31#include <sys/module.h> 32 33#include <sys/bus.h> --- 237 unchanged lines hidden (view full) --- 271 * name _tdk is just for a historical reason. :-) 272 */ 273static int 274fe_probe_tdk (device_t dev, const struct fe_pccard_product *pp) 275{ 276 struct fe_softc *sc = device_get_softc(dev); 277 278 static struct fe_simple_probe_struct probe_table [] = { |
279 { FE_DLCR2, 0x50, 0x00 }, | 279 { FE_DLCR2, 0x10, 0x00 }, |
280 { FE_DLCR4, 0x08, 0x00 }, 281 /* { FE_DLCR5, 0x80, 0x00 }, Does not work well. */ 282 { 0 } 283 }; 284 285 /* C-NET(PC)C occupies 16 I/O addresses. */ 286 if (fe_alloc_port(dev, 16)) 287 return ENXIO; --- 22 unchanged lines hidden --- | 280 { FE_DLCR4, 0x08, 0x00 }, 281 /* { FE_DLCR5, 0x80, 0x00 }, Does not work well. */ 282 { 0 } 283 }; 284 285 /* C-NET(PC)C occupies 16 I/O addresses. */ 286 if (fe_alloc_port(dev, 16)) 287 return ENXIO; --- 22 unchanged lines hidden --- |