2.6.1에서 랜카드 인식문제(3c90x)

0
points

이번에 2.6.1로 커널을 업그레이드 했습니다.
그런데 2.4.23에서는 컴파일을 해서 모듈을 올려서 사용했습니다만,
2.6.1에서는 컴파일에서는 warning이 나고, 컴파일후에 작성된
모듈은 올라가지 않네요..
예전에 받아서 사용한 소스는 3c90x-102라는 이름을 갖고 있구요.
./compile_UP하면..

3c90x.c In function `tc90xbc_ScanDevices'
3c90x.c541 warning `check_region' is deprecated (declared at /lib/modules/2.6.1/build/include/linux/ioport.h119)
3c90x.c In function `NICOpen'
3c90x.c971 warning `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.1/build/include/linux/module.h482)
3c90x.c In function `NICClose'
3c90x.c1088 warning `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.1/build/include/linux/module.h494)
3c90x.c In function `tc90x_RegisterAdapter'
3c90x.c2246 warning passing arg 2 of `request_irq_R0c60f2e0' from incompatible pointer type
3c90x.c In function `NICSendPacket'
3c90x.c3652 warning comparison of distinct pointer types lacks a cast
3c90x.c3661 warning comparison of distinct pointer types lacks a cast
3c90x.c In function `NICIoctl'
3c90x.c4229 warning implicit declaration of function `suser'
3c90x.c In function `tc90x_HostErrorEvent'
3c90x.c5810 warning implicit declaration of function `schedule_task_R2d6c3d04'

과 같은 warning들이 나열됩니다.

./install3c90x를 하면

You are running the 2.6.1 version of kernel release 2.6.1...
Found modules directory /lib/modules/2.6.1/net
Copying the driver module into the modules directory.
Updating module dependencies...
Installation of 3c90x driver module was successful.

저렇게 나오고..
디렉토리로 가서 모듈을 올릴라 치면..
insmod error inserting '3c90x.o' -1 Invalid module format
라고 에러를 내놓습니다.

어떻게하면 3c90x를 정확히 말하면 3c905b를 2.6.1에서 사용할수
있을까요?
2.4버전대로 다시 내려가는 방법뿐일까요?

3c59x

1
point

3c59x

감사합니다~~^^

1
point

감사합니다~~^^

댓글 보기 옵션

원하시는 댓글 전시 방법을 선택한 다음 "설정 저장"을 누르셔서 적용하십시오.