Re: patch-2.3.27 drivers/net/Space.c command-line breaks

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 1 Dec 1999 23:25:33 +0000 (GMT)


> Basically many occurences (not all) of interface names are replaced with
> format strings.
> But it seems odd to me :
> - Some interface names aren't modified,

Not all of them are handled this way

> - there is no code that actually sprintfs the right number in the format
> strings,

There is. Trust me 8). Look at the various device registering functions.

> - It break my command line parameters : ether=0,1,2,3,eth0 -> it tries
> to compare 'eth0' with 'eth%d' in net/ethernet/eth.c eth_setup(), and
> it fails.

The command line code is broken right now. But it was broken with most of 2.3
anyway so I didnt feel too bad about that for the moment 8)

> May be I didn't understand the aim of that patch.

It cleans up a large pile of code and several bugs related to device name
assignation.

Alan

-
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/