Commit ecf47451 authored by Justin Bronder's avatar Justin Bronder Committed by Greg Kroah-Hartman
Browse files

Staging: b3dfg: Prepare b3dfg for submission upstream.



- Basically, update driver to run with 2.6.28
    - Conversion from struct class_device to struct device.
    - Conversion from .nopfn to .fault in vm_operations_struct.
    - Update use of pci_resource_flags to check for IORESOURCE_SIZEALIGN.
    - Update use of pci_dma_mapping_error.
- Minor code cleanup and integration with kernel build system.

Signed-off-by: default avatarJustin Bronder <jsbronder@brontes3d.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5f4e925a
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -101,5 +101,7 @@ source "drivers/staging/stlc45xx/Kconfig"


source "drivers/staging/uc2322/Kconfig"
source "drivers/staging/uc2322/Kconfig"


source "drivers/staging/b3dfg/Kconfig"

endif # !STAGING_EXCLUDE_BUILD
endif # !STAGING_EXCLUDE_BUILD
endif # STAGING
endif # STAGING
+1 −0
Original line number Original line Diff line number Diff line
@@ -33,3 +33,4 @@ obj-$(CONFIG_DST) += dst/
obj-$(CONFIG_POHMELFS)		+= pohmelfs/
obj-$(CONFIG_POHMELFS)		+= pohmelfs/
obj-$(CONFIG_STLC45XX)		+= stlc45xx/
obj-$(CONFIG_STLC45XX)		+= stlc45xx/
obj-$(CONFIG_USB_SERIAL_ATEN2011)	+= uc2322/
obj-$(CONFIG_USB_SERIAL_ATEN2011)	+= uc2322/
obj-$(CONFIG_B3DFG)		+= b3dfg/
+9 −0
Original line number Original line Diff line number Diff line
config B3DFG
       tristate "Brontes 3d Frame Framegrabber"
       default n
       ---help---
         This driver provides support for the Brontes 3d Framegrabber
         PCI card.

         To compile this driver as a module, choose M here. The module
         will be called b3dfg.
+1 −0
Original line number Original line Diff line number Diff line
obj-$(CONFIG_B3DFG) += b3dfg.o
+4 −0
Original line number Original line Diff line number Diff line

 - queue/wait buffer presents filltime results for each frame?
 - counting of dropped frames
 - review endianness
Loading