Hallo!
Also ich mach an der NIC schon min 6 Wochen rum, kann mir keiner nen TIP
geben, wäre echt suuper! Es scheint mir fast so als ob Linux das Teil
überhaupt nicht mag! yast2 erkennt dir Karte als Tiger NIC, aber beim
aktivieren geht es immer schief! D.h. er erkennt es, kann sie aber nicht
aktivieren. Habe außer VGA nix drin, konflikte also ausgeschlossen.
Da der aktuelle Kernel die Diamond Homfree Netzwerkkarte (Funk) nicht
supported muss ich mir mein Modul selber Compelieren. (laut
http://www.informatik.hu-berlin.de/~hasselma/homefree.en.html)
Ich habe den SuSE7.3 standard Kernel.
Was müsste ich denn an der Makefile ändern das das "make" geht? Die
Fehlermeldung ist ganz unten.
=========== Start Makefile ==============
## Makefile for Diamond Multimedia "HomeFree Wireless" NIC driver.
## Driver Author: Pavel Machek
## Distribute under GPLv2 or later; no warranty given
## Makefile Author: The Rev. Dr. Jaeson Engle
## Makefile Date: 06/02/2000
## Edit these values to match your setup: ##
# Note: If you have a stock disitribution kernel, this value may not be
_just_ your
# kernel version. The setting shown is from my system (stock RedHat 6.1).
KERNEL_VERSION = 2.2.12-20 # ------> habs hier schon mit 2.4.10-4GB und
2.4.10 Probiert.
# This can tbe 'pci' or 'isa':
CARD_TYPE = pci
# Leave this empty if you only have one card:
CARD_COUNT =
# This can be '0' (no debug) or '1' (debug output):
DEBUG_LEVEL = 1
## Nothing else needs to be changed below here ##
CC = gcc
INSTALL = /usr/bin/install
CFLAGS
= -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -m
386
DEFS = -D__KERNEL__ -DMODULE -DCPU=386 -DDEBUG=$(DEBUG_LEVEL)
INCLUDES = -I/usr/src/linux/include
SOURCE = tir2000.c
TARGET = tir2000.o
srcdir = .
bindir = /lib/modules/$(KERNEL_VERSION)/net
DEVICE_SCRIPT = $(srcdir)/install.sh
driver: $(SOURCE)
$(CC) $(CFLAGS) $(INCLUDES) $(DEFS) -c -o $(TARGET) $(SOURCE)
install:
$(INSTALL) -m 755 $(TARGET) $(bindir)
$(DEVICE_SCRIPT) $(CARD_TYPE) $(CARD_COUNT)
clean:
rm -f *.o core
=========== End Makefile ==============
============= START ERROR ================
linux:/home/mario/tir2000 # make
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce
-m38
6 -I/usr/src/linux/include -D__KERNEL__ -DMODULE -DCPU=386 -DDEBUG=1 -c -o
tir20
00.o tir2000.c
In file included from tir2000.c:41:
/usr/src/linux/include/linux/malloc.h:4: warning: #warning linux/malloc.h is
dep
recated, use linux/slab.h instead.
tir2000.c:114: warning: `struct device' declared inside parameter list
tir2000.c:114: warning: its scope is only this definition or declaration,
which
is probably not what you want.
tir2000.c:115: warning: `struct device' declared inside parameter list
tir2000.c:116: warning: `struct device' declared inside parameter list
tir2000.c:117: warning: `struct device' declared inside parameter list
tir2000.c:118: warning: `struct device' declared inside parameter list
tir2000.c: In function `tir_bank':
tir2000.c:337: warning: passing arg 1 of `tir_outb' from incompatible
pointer ty
pe
tir2000.c: At top level:
tir2000.c:353: conflicting types for `tir_outb'
tir2000.c:114: previous declaration of `tir_outb'
tir2000.c: In function `tir_reset':
tir2000.c:641: warning: passing arg 1 of `tir_everyday_init' from
incompatible p
ointer type
tir2000.c: In function `tir_process_status':
tir2000.c:747: warning: passing arg 1 of `tir_hard_xmit' from incompatible
point
er type
tir2000.c:756: warning: passing arg 1 of `tir_dataxmit' from incompatible
pointe
r type
tir2000.c: At top level:
tir2000.c:845: conflicting types for `tir_dataxmit'
tir2000.c:115: previous declaration of `tir_dataxmit'
tir2000.c: In function `tir_dataxmit':
tir2000.c:877: warning: passing arg 1 of `tir_prepare_receive' from
incompatible p
ointer type
tir2000.c:880: warning: passing arg 1 of `tir_hard_xmit' from incompatible
pointer
type
tir2000.c: At top level:
tir2000.c:918: conflicting types for `tir_everyday_init'
tir2000.c:116: previous declaration of `tir_everyday_init'
tir2000.c:982: conflicting types for `tir_hard_xmit'
tir2000.c:117: previous declaration of `tir_hard_xmit'
tir2000.c:1014: conflicting types for `tir_prepare_receive'
tir2000.c:118: previous declaration of `tir_prepare_receive'
tir2000.c: In function `init_module':
tir2000.c:1269: structure has no member named `base_address'
tir2000.c: At top level:
tir2000.c:433: warning: `my_schedule_flip' defined but not used
make: *** [driver] Error 1
============= END ERROR ================
Vielen Dank schonmal!
Gruss Mario Ohnewald