Modify

Opened 8 years ago

Closed 8 years ago

Last modified 4 years ago

#5972 closed defect (fixed)

pata_ixp4xx_cf.c compile error for latest trunk revision with kernel 2.6.30

Reported by: dhgupta Owned by: kaloz
Priority: high Milestone: Barrier Breaker 14.07
Component: packages Version:
Keywords: Cc:

Description

CC [M] drivers/ata/pata_ixp4xx_cf.o
drivers/ata/pata_ixp4xx_cf.c: In function 'ixp4xx_set_mode':
drivers/ata/pata_ixp4xx_cf.c:35: error: implicit declaration of function 'ata_link_for_each_dev'
drivers/ata/pata_ixp4xx_cf.c:35: error: expected ';' before '{' token
drivers/ata/pata_ixp4xx_cf.c:32: warning: unused variable 'pio_mask'
drivers/ata/pata_ixp4xx_cf.c:31: warning: unused variable 'data'
make[7]: * [drivers/ata/pata_ixp4xx_cf.o] Error 1
make[6]:
* [drivers/ata] Error 2
make[5]: * [drivers] Error 2
make[5]: Leaving directory `/home/tlabs/openwrt/build_dir/linux-ixp4xx_generic/linux-2.6.30'
make[4]:
* /home/tlabs/openwrt/build_dir/linux-ixp4xx_generic/linux-2.6.30/.modules Error 2
make[4]: Leaving directory `/home/tlabs/openwrt/target/linux/ixp4xx'
make[3]: * [compile] Error 2
make[3]: Leaving directory `/home/tlabs/openwrt/target/linux'
make[2]:
* [target/linux/compile] Error 2
make[2]: Leaving directory `/home/tlabs/openwrt'
make[1]: * /home/tlabs/openwrt/staging_dir/target-armeb_uClibc-0.9.30.1/stamp/.target_compile Error 2
make[1]: Leaving directory `/home/tlabs/openwrt'
make:
* [world] Error 2

Also, the config-2.6.30 file does not have any option for:
CONFIG_ATA_IXP4XX_CF=y while the config-2.6.28 file does. As a result, the compact flash support for IXP4XX does not get compiled even when selected in make menuconfig. Please include this!!

Attachments (0)

Change History (3)

comment:1 Changed 8 years ago by kaloz

  • Owner changed from developers to kaloz
  • Status changed from new to assigned

comment:2 Changed 8 years ago by kaloz

  • Resolution set to fixed
  • Status changed from assigned to closed

This driver is packaged now as a module, hence it isn't in the target config.
I've commited the fix for the driver in [17996] , please test it.

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.