BTTV .text.exit link fix with newer binutils

BTTV .text.exit link fix with newer binutils

Post by Sebastian Droeg » Tue, 30 Apr 2002 00:10:08



Hi,
here's a simple patch to allow the bttv driver to be build with newer binutils...

Bye

--- linux-2.5.10/drivers/media/video/bttv-driver.c~     Sun Apr 28 16:57:00 2002

         name:     "bttv",
         id_table: bttv_pci_tbl,
         probe:    bttv_probe,
-        remove:   bttv_remove,
+        remove:   __devexit_p(bttv_remove),
 };

 static int bttv_init_module(void)

  application_pgp-signature_part
< 1K Download
 
 
 

BTTV .text.exit link fix with newer binutils

Post by hal900 » Tue, 30 Apr 2002 23:47:23


hi,
I want to test the 2.5.10 kernel, I configured and make / installed it.
My problem is, that the system hangs up a short while after boot!

PDC20265: chipset revision 2
Apr 27 18:20:22 2001 kernel: PDC20265: not 100%% native mode: will probe irqs later
Apr 27 18:20:22 2001 kernel:     ide2: BM-DMA at 0x8000-0x8007, BIOS settings:
hde:DMA, hdf:DMA
Apr 27 18:20:22 2001 kernel:     ide3: BM-DMA at 0x8008-0x800f, BIOS settings:
hdg:pio, hdh:DMA
Apr 27 18:20:22 2001 kernel: hdb: C/H/S=20510/81/228 from BIOS ignored
Apr 27 18:20:22 2001 kernel: hdb: WDC WD136BA, ATA DISK drive
Apr 27 18:20:22 2001 kernel: hdc: DVDROM 10X, ATAPI CD/DVD-ROM drive
Apr 27 18:20:22 2001 kernel: hdd: CR-48XATE, ATAPI CD/DVD-ROM drive
Apr 27 18:20:22 2001 kernel: hde: ST340823A, ATA DISK drive
Apr 27 18:20:22 2001 kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Apr 27 18:20:22 2001 kernel: ide1 at 0x170-0x177,0x376 on irq 15
Apr 27 18:20:22 2001 kernel: ide2 at 0x9400-0x9407,0x9002 on irq 10
Apr 27 18:20:22 2001 kernel: hdb: 26712000 sectors (13677 MB) w/1961KiB Cache,
CHS=26500/16/63, UDMA(33)
at this point the machin is frozen!
I think it depends on the driver for my a7v and the 40GB large disk that is
connected to the ata 100 port!

In the 2.5.10 kernel there is only the posibility to support "via chipsets"!
In the stable kernel revision there was a chance to support the chipset (VIA
vt82c686a)

what can I do? - mfg thorsten

 
 
 

1. Fix for dmfe.c with newer binutils

Hi,
here is a really simple fix for the link problems with newer binutils
it's already fixed this way in 2.4.18 and 2.5.5-dj2

Bye

--- linux-2.5.5/drivers/net/dmfe.c~     Tue Mar  5 14:12:49 2002

        name:           "dmfe",
        id_table:       dmfe_pci_tbl,
        probe:          dmfe_init_one,
-       remove:         dmfe_remove_one,
+       remove:         __devexit_p(dmfe_remove_one),
 };


  application_pgp-signature_part
< 1K Download

2. Multi-owner metaset, cannot add another host

3. drivers/sound/via82cxxx_audio.c (binutils .text.exit problem)

4. Problems compiling QT

5. fix ad1889.c .text.exit error

6. Chicks Dig FreeBSD Image

7. fix ips.c .text.exit error

8. Suggest a new sound card (use for vinyl->CD, too)

9. fix .text.exit error in drivers/scsi/ips.c

10. fix .text.exit error in dmfe.c

11. fix nsp32.c .text.exit error

12. fix .text.exit error in tdfxfb.c

13. fix .text.exit errors in orinoco_{pci,plx}.c