Am Montag, 3. M=E4rz 2003 08:14 schrieb Ken Yap:
> BTW, Eric, I get these lines near the end of a make when I do make
> bin/eepro100.rom. Did I mess up a Makefile somewhere?
>
> ld -N -Ttext 0x20000 -T arch/i386/core/etherboot.lds -o bin/eepro1=
00.tmp
> bin/start32.o bin/pcbios.o bin/memsizes.o bin/linuxbios.o bin/confi=
g.o
> bin/eepro100.o bin/bootlib.a /bin/sh: line 1: [: 524288.000000: int=
eger
> expression expected
I noticed that too. I think it comes from this bit in Makefile.main:
CHECKSIZE=3D{ read d1; read d1 d2 d3 size d4; [ $$size -gt $(ROMLIMIT=
) ] &&\
{ $(RM) $@; echo "ERROR: code size exceeds limit!"; exit 1; }; exit=
0; }
The fact that there was a pci device id present in 5.0 but not in 5.1=
made=20
me curious and I compared the other drivers too. I found some more id=
s that=20
are present in 5.0 but not in 5.1 drivers (Some of them were present =
in=20
NIC).
The attached patch adds these ids to the drivers (using Erics new PCI=
_ROM=20
macro).
Georg
|