mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-18 07:10:18 +02:00
Compact flash driver is now working
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9823 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
97316ddfc2
commit
2da5dcf199
@ -32,7 +32,7 @@
|
|||||||
#include <asm/gpio.h>
|
#include <asm/gpio.h>
|
||||||
|
|
||||||
#define DRV_NAME "pata-rb153-cf"
|
#define DRV_NAME "pata-rb153-cf"
|
||||||
#define DRV_VERSION "0.2.1"
|
#define DRV_VERSION "0.2.2"
|
||||||
#define DRV_DESC "PATA driver for RouterBOARD 153 Compact Flash"
|
#define DRV_DESC "PATA driver for RouterBOARD 153 Compact Flash"
|
||||||
|
|
||||||
#define RB153_CF_MAXPORTS 1
|
#define RB153_CF_MAXPORTS 1
|
||||||
@ -253,7 +253,7 @@ static __devinit int rb153_pata_driver_probe(struct platform_device *pdev)
|
|||||||
rb153_pata_setup_ports(ah);
|
rb153_pata_setup_ports(ah);
|
||||||
|
|
||||||
ret = ata_host_activate(ah, irq, rb153_pata_irq_handler,
|
ret = ata_host_activate(ah, irq, rb153_pata_irq_handler,
|
||||||
IRQF_TRIGGER_HIGH, &rb153_pata_sht);
|
IRQF_TRIGGER_LOW, &rb153_pata_sht);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto err_free_gpio;
|
goto err_free_gpio;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user