Subject: 3CCFEM656BT
To: None <port-i386@NetBSD.org>
From: Baldwin, James <JBaldwin@origin.ea.com>
List: port-i386
Date: 09/07/2003 01:00:29
Is anyone currently working on porting the 3CCFEM656BT 3Com Cardbus
Network card? I see the product id in dev/cardbus/cardbusdevs.h,
however, it is not included in ex_cardbus_products[] from
dev/cardbus/if_ex_cardbus.h. I'm not sure how to find out any of the
information reqired for the softc clags, CSR flags, or card type. If
anyone has a patch for the 3CCFEM656, or ideas where I could find the
appropriate information, I'd be grateful.

Excerpt from cardbusdevs.h:
#define CARDBUS_PRODUCT_3COM_3C656_E    0x6560          /* 3CCFEM656
10/100 Ethe
rnet */

Excerpt from if_ex_cardbus.c:
const struct ex_cardbus_product {
        u_int32_t       ecp_prodid;     /* CardBus product ID */
        int             ecp_flags;      /* initial softc flags */
        pcireg_t        ecp_csr;        /* PCI CSR flags */
        int             ecp_cardtype;   /* card type */
        const char      *ecp_name;      /* device name */
} ex_cardbus_products[] =3D {
        { CARDBUS_PRODUCT_3COM_3C575TX,
          EX_CONF_MII | EX_CONF_EEPROM_OFF | EX_CONF_EEPROM_8BIT,
          CARDBUS_COMMAND_IO_ENABLE | CARDBUS_COMMAND_MASTER_ENABLE,
          EX_CB_BOOMERANG,
          "3c575-TX Ethernet" },

        { CARDBUS
EX_CONF_90XB|EX_CONF_MII|EX_CONF_INV_LED_POLARITY |
            EX_CONF_EEPROM_OFF | EX_CONF_EEPROM_8BIT,
          CARDBUS_COMMAND_IO_ENABLE | CARDBUS_COMMAND_MEM_ENABLE |
              CARDBUS_COMMAND_MASTER_ENABLE,
          EX_CB_CYCLONE,
          "3c575B-TX Ethernet" },

        { CARDBUS_PRODUCT_3COM_3C575CTX,
          EX_CONF_90XB | EX_CONF_PHY_POWER | EX_CONF_EEPROM_OFF |
            EX_CONF_EEPROM_8BIT,
          CARDBUS_COMMAND_IO_ENABLE | CARDBUS_COMMAND_MEM_ENABLE |
              CARDBUS_COMMAND_MASTER_ENABLE,
          EX_CB_CYCLONE,
          "3c575CT Ethernet" },

        { 0,
          0,
          0,
          0,
          NULL },
};_PRODUCT_3COM_3C575BTX,