Deleted Added
full compact
dc21040reg.h (49562) dc21040reg.h (74773)
1/* $NetBSD: dc21040reg.h,v 1.15 1998/05/22 18:50:59 matt Exp $ */
2
1/* $NetBSD: dc21040reg.h,v 1.15 1998/05/22 18:50:59 matt Exp $ */
2
3/* $FreeBSD: head/sys/dev/de/dc21040reg.h 49562 1999-08-09 12:52:49Z peter $ */
3/* $FreeBSD: head/sys/dev/de/dc21040reg.h 74773 2001-03-25 07:21:04Z peter $ */
4
5/*-
6 * Copyright (c) 1994, 1995, 1996 Matt Thomas <matt@3am-software.com>
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions
11 * are met:

--- 328 unchanged lines hidden (view full) ---

340/*
341 * These are the defintitions used for the SMC9332 (21140) board.
342 */
343#define TULIP_GP_SMC_9332_PINS 0x0000003F /* General Purpose Pin directions */
344#define TULIP_GP_SMC_9332_OK10 0x00000080 /* 10 Mb/sec Signal Detect gep<7> */
345#define TULIP_GP_SMC_9332_OK100 0x00000040 /* 100 Mb/sec Signal Detect gep<6> */
346#define TULIP_GP_SMC_9332_INIT 0x00000009 /* No loopback --- point-to-point */
347
4
5/*-
6 * Copyright (c) 1994, 1995, 1996 Matt Thomas <matt@3am-software.com>
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions
11 * are met:

--- 328 unchanged lines hidden (view full) ---

340/*
341 * These are the defintitions used for the SMC9332 (21140) board.
342 */
343#define TULIP_GP_SMC_9332_PINS 0x0000003F /* General Purpose Pin directions */
344#define TULIP_GP_SMC_9332_OK10 0x00000080 /* 10 Mb/sec Signal Detect gep<7> */
345#define TULIP_GP_SMC_9332_OK100 0x00000040 /* 100 Mb/sec Signal Detect gep<6> */
346#define TULIP_GP_SMC_9332_INIT 0x00000009 /* No loopback --- point-to-point */
347
348#define TULIP_OUI_SMC_0 0x00
349#define TULIP_OUI_SMC_1 0x00
350#define TULIP_OUI_SMC_2 0xC0
351
352/*
353 * There are the definitions used for the DEC DE500
354 * 10/100 family of boards
355 */
356#define TULIP_GP_DE500_PINS 0x0000001FL
357#define TULIP_GP_DE500_LINK_PASS 0x00000080L
358#define TULIP_GP_DE500_SYM_LINK 0x00000040L
359#define TULIP_GP_DE500_SIGNAL_DETECT 0x00000020L

--- 4 unchanged lines hidden (view full) ---

364#define TULIP_GP_DE500_FORCE_100 0x00000001L
365
366/*
367 * These are the defintitions used for the Cogent EM100
368 * 21140 board.
369 */
370#define TULIP_GP_EM100_PINS 0x0000003F /* General Purpose Pin directions */
371#define TULIP_GP_EM100_INIT 0x00000009 /* No loopback --- point-to-point */
348/*
349 * There are the definitions used for the DEC DE500
350 * 10/100 family of boards
351 */
352#define TULIP_GP_DE500_PINS 0x0000001FL
353#define TULIP_GP_DE500_LINK_PASS 0x00000080L
354#define TULIP_GP_DE500_SYM_LINK 0x00000040L
355#define TULIP_GP_DE500_SIGNAL_DETECT 0x00000020L

--- 4 unchanged lines hidden (view full) ---

360#define TULIP_GP_DE500_FORCE_100 0x00000001L
361
362/*
363 * These are the defintitions used for the Cogent EM100
364 * 21140 board.
365 */
366#define TULIP_GP_EM100_PINS 0x0000003F /* General Purpose Pin directions */
367#define TULIP_GP_EM100_INIT 0x00000009 /* No loopback --- point-to-point */
372#define TULIP_OUI_COGENT_0 0x00
373#define TULIP_OUI_COGENT_1 0x00
374#define TULIP_OUI_COGENT_2 0x92
375#define TULIP_COGENT_EM100TX_ID 0x12
376#define TULIP_COGENT_EM100FX_ID 0x15
377
378
379/*
380 * These are the defintitions used for the Znyx ZX342
381 * 10/100 board
382 */
368#define TULIP_COGENT_EM100TX_ID 0x12
369#define TULIP_COGENT_EM100FX_ID 0x15
370
371
372/*
373 * These are the defintitions used for the Znyx ZX342
374 * 10/100 board
375 */
383#define TULIP_OUI_ZNYX_0 0x00
384#define TULIP_OUI_ZNYX_1 0xC0
385#define TULIP_OUI_ZNYX_2 0x95
386
387#define TULIP_ZNYX_ID_ZX312 0x0602
388#define TULIP_ZNYX_ID_ZX312T 0x0622
389#define TULIP_ZNYX_ID_ZX314_INTA 0x0701
390#define TULIP_ZNYX_ID_ZX314 0x0711
391#define TULIP_ZNYX_ID_ZX315_INTA 0x0801
392#define TULIP_ZNYX_ID_ZX315 0x0811
393#define TULIP_ZNYX_ID_ZX342 0x0901
394#define TULIP_ZNYX_ID_ZX342B 0x0921

--- 21 unchanged lines hidden (view full) ---

416#define TULIP_GP_ZX34X_NCOLENA 0x00000004 /* 10t Int LB */
417#define TULIP_GP_ZX34X_RXMATCH 0x00000004 /* RX Match */
418#define TULIP_GP_ZX346_FULLDUPLEX 0x00000004 /* Full Duplex Sensed */
419#define TULIP_GP_ZX34X_LB102 0x00000002 /* 100tx twister LB */
420#define TULIP_GP_ZX34X_NLB101 0x00000001 /* PDT/PDR LB */
421#define TULIP_GP_ZX34X_INIT 0x00000009
422
423/*
376#define TULIP_ZNYX_ID_ZX312 0x0602
377#define TULIP_ZNYX_ID_ZX312T 0x0622
378#define TULIP_ZNYX_ID_ZX314_INTA 0x0701
379#define TULIP_ZNYX_ID_ZX314 0x0711
380#define TULIP_ZNYX_ID_ZX315_INTA 0x0801
381#define TULIP_ZNYX_ID_ZX315 0x0811
382#define TULIP_ZNYX_ID_ZX342 0x0901
383#define TULIP_ZNYX_ID_ZX342B 0x0921

--- 21 unchanged lines hidden (view full) ---

405#define TULIP_GP_ZX34X_NCOLENA 0x00000004 /* 10t Int LB */
406#define TULIP_GP_ZX34X_RXMATCH 0x00000004 /* RX Match */
407#define TULIP_GP_ZX346_FULLDUPLEX 0x00000004 /* Full Duplex Sensed */
408#define TULIP_GP_ZX34X_LB102 0x00000002 /* 100tx twister LB */
409#define TULIP_GP_ZX34X_NLB101 0x00000001 /* PDT/PDR LB */
410#define TULIP_GP_ZX34X_INIT 0x00000009
411
412/*
424 * Compex's OUI. We need to twiddle a bit on their 21041 card.
413 * Asante's stuff...
425 */
414 */
426#define TULIP_OUI_COMPEX_0 0x00
427#define TULIP_OUI_COMPEX_1 0x80
428#define TULIP_OUI_COMPEX_2 0x48
429#define TULIP_21041_COMPEX_XREGDATA 1
430
431/*
432 * Asante's OUI and stuff...
433 */
434#define TULIP_OUI_ASANTE_0 0x00
435#define TULIP_OUI_ASANTE_1 0x00
436#define TULIP_OUI_ASANTE_2 0x94
437#define TULIP_GP_ASANTE_PINS 0x000000bf /* GP pin config */
438#define TULIP_GP_ASANTE_PHYRESET 0x00000008 /* Reset PHY */
439
440/*
441 * ACCTON EN1207 specialties
442 */
443
415#define TULIP_GP_ASANTE_PINS 0x000000bf /* GP pin config */
416#define TULIP_GP_ASANTE_PHYRESET 0x00000008 /* Reset PHY */
417
418/*
419 * ACCTON EN1207 specialties
420 */
421
444#define TULIP_OUI_EN1207_0 0x00
445#define TULIP_OUI_EN1207_1 0x00
446#define TULIP_OUI_EN1207_2 0xE8
447
448#define TULIP_CSR8_EN1207 0x08
449#define TULIP_CSR9_EN1207 0x00
450#define TULIP_CSR10_EN1207 0x03
451#define TULIP_CSR11_EN1207 0x1F
452
453#define TULIP_GP_EN1207_BNC_INIT 0x0000011B
454#define TULIP_GP_EN1207_UTP_INIT 0x9E00000B
455#define TULIP_GP_EN1207_100_INIT 0x6D00031B

--- 154 unchanged lines hidden ---
422#define TULIP_CSR8_EN1207 0x08
423#define TULIP_CSR9_EN1207 0x00
424#define TULIP_CSR10_EN1207 0x03
425#define TULIP_CSR11_EN1207 0x1F
426
427#define TULIP_GP_EN1207_BNC_INIT 0x0000011B
428#define TULIP_GP_EN1207_UTP_INIT 0x9E00000B
429#define TULIP_GP_EN1207_100_INIT 0x6D00031B

--- 154 unchanged lines hidden ---