Re: T1E1 cards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 23, 2009 at 01:08:49PM -0400, Bob Beers wrote:
> Hi list,
> 
> I have a 4-port T1E1 card with this lspci output:
> 
> # lspci -n -s05:08
> 05:08.0 0280: 14f1:8474 (rev 0c)
> 05:08.1 0680: 14f1:8474 (rev 0c)
> # lspci -v -s05:08
> 05:08.0 Network controller: Conexant Systems, Inc. Unknown device 8474 (rev 0c)
>         Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 74
>         BIST result: 00
>         Memory at fe900000 (32-bit, non-prefetchable) [size=1M]
> 
> 05:08.1 Bridge: Conexant Systems, Inc. Unknown device 8474 (rev 0c)
>         Flags: 66MHz, medium devsel, IRQ 82
>         Memory at fea00000 (32-bit, non-prefetchable) [size=1M]
> 
> 
> I have the (GPL, but not in-kernel) driver compiled and when I
>  manually modprobe it, I get a low level device. Then I have to
>  set up the ports and create channels using the card specific
>  cfg utility.  At this point I see new devices which I can manipulate
>  with my if[up|down]-hdlc scripts.  Unfortunately, they are ethX
>  instead of hdlcX, but it all still works.
> 
> So, finally, here are my questions:
> 
> 1 - How can I get the driver to load automatically, and execute the
>  cfg calls to create the low level device?

Fix the driver to have it load automatically.  Do you have a pointer to
the source code for it anywhere?

> 2 - What is the proper way to create the upper devices as hdlcX
>  vs. ethX?

The driver should do this for you.

>  I know that I can use 'ip link set dev eth4 name hdlc0'
>  or something like ifrename for renaming once they're created,
>  but maybe I can change something in the driver code to have
>  them start out with the right interface name.

Yes, you can, or you can write a udev rule to rename the device when it
is seen.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux