Dual Ethernet Adapters

Dual Ethernet Adapters

Post by Dan DeVaul » Thu, 22 Oct 1998 04:00:00



Hi,
      I have a Motorola MTX604 board with on onboard ethernet adapter.
We are trying to add a second PCI ethernet adapter and have been unable
to successfully call dcattach() to initialize the driver for this card.
Has anyone had any experience and hopefully success in doing this ?

Thank you,
Dan DeVault

 
 
 

Dual Ethernet Adapters

Post by Ian Lov » Fri, 23 Oct 1998 04:00:00



> Hi,
>       I have a Motorola MTX604 board with on onboard ethernet adapter.
> We are trying to add a second PCI ethernet adapter and have been unable
> to successfully call dcattach() to initialize the driver for this card.
> Has anyone had any experience and hopefully success in doing this ?

> Thank you,
> Dan DeVault

If you have a second PCI adaptor, it should come with it's OWN driver
code: ypou can't use the Motorola BSP ones: they are ONLY for the
motorola on-board ethernet: even if the off-board chipset is the same.

I have done this for an OSICOM 2350:
- include the driver code by adding the obj to MACH_EXTRA in the BSP
Makefile
- add the appropriate driver line to the netIf structure in
usrNetwork.c, eg:
LOCAL NETIF netIf [] =  /* network interfaces */
    {
#ifdef NETIF_USR_ENTRIES        /* Additional entries, from BSP */
    NETIF_USR_ENTRIES
#endif

#ifdef INCLUDE_EXP
        /* new line for OSICOM 2350 PMC ethernet - ijl 17/9/1998 */
        {"exp", expattach, 0, 0, 0, 0, 0, 0, 0, 0},
#endif

#ifdef  INCLUDE_DC
        { "dc", dcattach, (char*)IO_ADRS_DC, INT_VEC_DC, INT_LVL_DC,
          DC_POOL_ADRS, DC_POOL_SIZE, DC_DATA_WIDTH, DC_RAM_PCI_ADRS,
          DC_MODE },
:

then write your own attach routines etc (this eg is from our version of
        usrNetworkInit()):

#ifdef INCLUDE_EXP
        /* attach OSICOM 2350 PMC device driver and configure */
        /* lets use the 'other' field in the bootline for the ethernet
         * address : assumes bootline is available in 'params' */
        if(params.other[0]!=EOS)
        {
                printf("exp ethernet address: %s\n", params.ead);
                bootNetmaskExtract (params.ead, &netmask); /* separate
mask */
                usrNetIfAttach ("exp", params.ead);
                usrNetIfConfig ("exp", params.ead, "exp0", netmask);
        }
        else
                printf("WARNING: exp ethernet device not configured\n");
#endif

--
Ian Love, Senior Professional, Wireplay Development


=======B81 G41,BTL,Martlesham Heath, Ipswich, Suffolk, IP5 3RE=======

British Telecommunications plc
Registered Office 81 Newgate Street London EC1A 7AJ
Registered in England no 1800000

 
 
 

Dual Ethernet Adapters

Post by Dan DeVaul » Wed, 04 Nov 1998 04:00:00


Ian,
        I was able to finally find a way to use the driver that came with the
BSP.  However, I am running the SENS stack now.  It was fairly painless once
I figured out the address to put into the loadstring for the second board.  I
used an SMC pci ethernet card with the Dec21140 chipset and it works fine.

Thanks, Dan



> > Hi,
> >       I have a Motorola MTX604 board with on onboard ethernet adapter.
> > We are trying to add a second PCI ethernet adapter and have been unable
> > to successfully call dcattach() to initialize the driver for this card.
> > Has anyone had any experience and hopefully success in doing this ?

> > Thank you,
> > Dan DeVault

> If you have a second PCI adaptor, it should come with it's OWN driver
> code: ypou can't use the Motorola BSP ones: they are ONLY for the
> motorola on-board ethernet: even if the off-board chipset is the same.

> I have done this for an OSICOM 2350:
> - include the driver code by adding the obj to MACH_EXTRA in the BSP
> Makefile
> - add the appropriate driver line to the netIf structure in
> usrNetwork.c, eg:
> LOCAL NETIF netIf [] =  /* network interfaces */
>     {
> #ifdef NETIF_USR_ENTRIES        /* Additional entries, from BSP */
>     NETIF_USR_ENTRIES
> #endif

> #ifdef INCLUDE_EXP
>         /* new line for OSICOM 2350 PMC ethernet - ijl 17/9/1998 */
>         {"exp", expattach, 0, 0, 0, 0, 0, 0, 0, 0},
> #endif

> #ifdef  INCLUDE_DC
>         { "dc", dcattach, (char*)IO_ADRS_DC, INT_VEC_DC, INT_LVL_DC,
>           DC_POOL_ADRS, DC_POOL_SIZE, DC_DATA_WIDTH, DC_RAM_PCI_ADRS,
>           DC_MODE },
> :

> then write your own attach routines etc (this eg is from our version of
>         usrNetworkInit()):

> #ifdef INCLUDE_EXP
>         /* attach OSICOM 2350 PMC device driver and configure */
>         /* lets use the 'other' field in the bootline for the ethernet
>          * address : assumes bootline is available in 'params' */
>         if(params.other[0]!=EOS)
>         {
>                 printf("exp ethernet address: %s\n", params.ead);
>                 bootNetmaskExtract (params.ead, &netmask); /* separate
> mask */
>                 usrNetIfAttach ("exp", params.ead);
>                 usrNetIfConfig ("exp", params.ead, "exp0", netmask);
>         }
>         else
>                 printf("WARNING: exp ethernet device not configured\n");
> #endif

> --
> Ian Love, Senior Professional, Wireplay Development


> =======B81 G41,BTL,Martlesham Heath, Ipswich, Suffolk, IP5 3RE=======

> British Telecommunications plc
> Registered Office 81 Newgate Street London EC1A 7AJ
> Registered in England no 1800000

 
 
 

1. Dual Scan III APS adapter problem

Does anyone know how to remove a film from an APS adapter for Minolta
Dual scan III?  The scanner no longer recognizes the adapter and the
film is stuck inside of it.  I really don't want to loose the film. I
don't care for the adapter at this point, I'd rather have my film.

Thanks
Maggie

2. X.32 modem wanted

3. Belkin USB SCSI Adapter with Win2k and Scan Dual

4. midi in IE 4.0

5. Intel Pro 100+ DUAL PORT adapter

6. Parallel Language Info

7. Help needed with PS/2 Dual Async Adapter Card.

8. Sources for Toshiba 5302??

9. Dual ethernet boards on NS3.3/Intel

10. Dual Ethernet

11. target server/dual ethernet devices

12. Dual Ethernet Cards