Intanto un grazie immenso è dovuto
Entro nello specifico.
Io ho 7 file distribuiti come driver open, questi sono:
1)atapi.h
2)Makefile
3)scsi_module.c
4)scsi_obsolete.h
5)ultima.c
6)ultima.h
7)ultima.o
Prima di lanciare "make", di cui non so quale di questi file passargli, perdonami, ma so proprio niubbo, il Makefile distribuito nei driver ha questo contenuto:
Quote:
AS = as
MAKE = make
CC = gcc
CFLAGS = -O2 -DMODULE -D__KERNEL__ -DCONFIG_PCI -I /usr/src/linux-2.4/include
BOOT_CFLAGS = -D__module__BOOT -D__BOOT_KERNEL_BOOT
SMP_CFLAGS = -D__module__smp
SOURCE = ultima.c
VERSION = 2.4.2-2
#VERSION = 2.4.7-10
#VERSION = 2.4.18-3
#VERSION = 2.4.2
all: normal
normal:
-@echo
-@echo Making single CPU normal mode driver
-@echo
install -d ./
$(CC) -c $(CFLAGS) $(EXTRA_CFLAGS) -o ultima.o $(SOURCE)
|
Se ti può essere di aiuto posso postare anche gli altri file
questa era quanto rilevavo sulla mia configurazione della macchina
Quote:
0000:00:09.0 RAID bus controller: ARALION Inc: Unknown device 0301
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32, cache line size 08
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at 8000
Region 1: I/O ports at 7800 [size=16]
Region 2: I/O ports at 7400 [size=16]
Region 3: I/O ports at 7000 [size=16]
Region 4: I/O ports at 6800 [size=16]
Region 5: I/O ports at 6400 [size=8]
Capabilities: [40] Power Management version 1
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 38 15 01 03 17 00 30 04 00 00 04 01 08 20 00 00
10: 01 80 00 00 01 78 00 00 01 74 00 00 01 70 00 00
20: 01 68 00 00 01 64 00 00 07 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 0a 01 00 00
|