2002-02-11 02:00:32

by Udo A. Steinberg

[permalink] [raw]
Subject: bttv driver broken in 2.5.4-pre


Hi Gerd,

The latest changes in the 2.5.4 prepatches throw linker errors which seem to be caused by
bttv-driver.c using obsolete functions:

drivers/media/media.o: In function `make_vbitab':
drivers/media/media.o(.text+0x77ff): undefined reference to `virt_to_bus_not_defined_use_pci_map'
drivers/media/media.o(.text+0x7806): undefined reference to `virt_to_bus_not_defined_use_pci_map'
drivers/media/media.o(.text+0x78a2): undefined reference to `virt_to_bus_not_defined_use_pci_map'
drivers/media/media.o(.text+0x78cc): undefined reference to `virt_to_bus_not_defined_use_pci_map'
drivers/media/media.o(.text+0x7952): undefined reference to `virt_to_bus_not_defined_use_pci_map'
drivers/media/media.o(.text+0x797c): more undefined references to `virt_to_bus_not_defined_use_pci_map' follow

Do you have a patch for this problem?

Regards,
Udo.


2002-02-11 11:05:27

by Gerd Knorr

[permalink] [raw]
Subject: Re: bttv driver broken in 2.5.4-pre

Udo A. Steinberg wrote:
>
> Hi Gerd,
>
> The latest changes in the 2.5.4 prepatches throw linker errors which seem to be caused by
> bttv-driver.c using obsolete functions:

I'm not going to fix bttv 0.7.x (that's the version which is in both
2.4.x and 2.5.x). The redesigned bttv 0.8.x versions work (they never
used virt_to_bus). You can fetch them from http://bytesex.org/bttv/

bttv 0.8.x depends on some other patches, thus it probably needs some
time before it will show up in 2.5.x. Expect bttv being broken for a
few releases in 2.5.x kernels.

Gerd

--
#define ENOCLUE 125 /* userland programmer induced race condition */