Re: [patch] 2.3.99-pre3-3: dev_alloc_name

From: Urban Widmark (urban@svenskatest.se)
Date: Wed Mar 22 2000 - 19:09:01 EST


On 22 Mar 2000, Nick Holloway wrote:

> I looked into drivers/net to see how big this problem was. A quick grep
> for "dev->name *=" revealed the following files:
>
> 3c503 3c505 3c515 3c523 ac3200 depca dgrs e2100 eexpress es3210 eth16i
> ewrk3 hp-plus hp lance lne390 ne ne2 ne3210 net_init ppp_generic rcpci45
> smc-mca smc-ultra sffmc-ultra32 wavelan wd
>
> This is where my figure of 27 comes from.

Thanks, now I understand. I'm not sure what it was I was counting but I
was nowhere near 27 (more like 89). But my init_etherdev suggestion is
still valid I think (no idea if it is "more correct" than making a
char[]).

I'll go away now and read a little grep(1) before opening my mouth again
on this topic :)

/Urban

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:37 EST