Re: Linux 2.4.19-pre8

Adrian Bunk
2002-05-03T18:11:50Z

On Fri, 3 May 2002, Alan Cox wrote:

> > 8253xdbg.o 8253xplx.o 8253xtty.o 8253xchr.o 8253xint.o amcc5920.o
> > 8253xmcs.o 8253xutl.o
> > make[4]: *** No rule to make target `8253xcfg.c', needed by `8253xcfg'.
> > Stop.
> > make[4]: Leaving directory
> > `/home/bunk/linux/kernel-2.4/linux/drivers/net/wan/8253x'
>
> Oops. I probably forgot to send Marcelo the makefile tweak
>
> > It seems 8253xcfg.c was accidentially not included.
>
> Remove it from the makefile and it should all be happy

Until the next compile error...

<-- snip -->

...
ld -m elf_i386 -r -o ASLX.o 8253xini.o 8253xnet.o 8253xsyn.o crc32.o
8253xdbg.o 8253xplx.o 8253xtty.o 8253xchr.o 8253xint.o amcc5920.o
8253xmcs.o 8253xutl.o
gcc -o 8253xmac -I. -U__KERNEL__ 8253xmac.c
8253xmac.c: In function `main':
8253xmac.c:29: `PSEUDOMAC' undeclared (first use in this function)
8253xmac.c:29: (Each undeclared identifier is reported only once
8253xmac.c:29: for each function it appears in.)
8253xmac.c:29: parse error before `pmac'
8253xmac.c:52: `pmac' undeclared (first use in this function)
8253xmac.c:54: `SAB8253XGETMAC' undeclared (first use in this function)
8253xmac.c:167: `SAB8253XSETMAC' undeclared (first use in this function)
make[4]: *** [8253xmac] Error 1
make[4]: Leaving directory
`/home/bunk/linux/kernel-2.4/linux/drivers/net/wan/8253x'

<-- snip -->

Both the -pre7-ac4 and the -pre8 patches contain a
drivers/net/wan/8253x/readme.txt that says:

<-- snip -->

...
+2) The following network ioctl have been removed
+
+#define SAB8253XSETMAC (SIOCDEVPRIVATE + 5 + 2)
+#define SAB8253XGETMAC (SIOCDEVPRIVATE + 5 + 3)
+
+along with the PSEUDOMAC structure and references to this structure.
+
+The following standard ioctls provide the same functionality.
+
+#define SIOCSIFHWADDR 0x8924 /* set hardware address
*/
+#define SIOCGIFHWADDR 0x8927 /* Get hardware address */
+
+The 8253xmac tool has been removed. To start the ASLX sab8253x
+network interface, you should use a command like the following with
+the substitutions appropriate to your environment.
...

<-- snip -->

But both the -pre7-ac4 and the -pre8 patches add a 8253xmac.c and the
Makefile tries to compile it...

> Alan

cu
Adrian

--

You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
Alan Cox