2.6.x ATA build fix
PATCH 1/1 2.6.x ATA build fix
Mainly a build fix from Meelios(sp?).
Please do a
bk pull bk://gkernel.bkbits.net/libata-2.6
This will update the following files:
include/linux/ata.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
through these ChangeSets:
<[email protected]> (04/11/06 1.2473)
Remove silly comment from linux/ata.h.
XFER_xxx is not necessarily "legacy IDE 'stuff'"
<[email protected]> (04/11/06 1.2472)
[PATCH] ata.h undefined types in USB
This is todays BK on a x86:
CC [M] drivers/usb/storage/freecom.o
In file included from include/linux/hdreg.h:4,
from drivers/usb/storage/freecom.c:32:
include/linux/ata.h:197: error: parse error before "u32"
...
and so on for tens of lines.
Signed-off-by Jeff Garzik <[email protected]>
include/linux/ata.h +2 -2
@@ -24,6 +24,8 @@#ifndef __LINUX_ATA_H__#define __LINUX_ATA_H__ +#include <linux/types.h> +/* defines only for the constants which don't work well as enums */ #define ATA_DMA_BOUNDARY 0xffffUL#define ATA_DMA_MASK 0xffffffffULL
@@ -140,8 +142,6 @@XFER_PIO_2 =0x0A ,XFER_PIO_1 =0x09 ,XFER_PIO_0 =0x08 , - -/* legacy IDE 'stuff' */ XFER_SW_DMA_2 =0x12 ,XFER_SW_DMA_1 =0x11 , XFER_SW_DMA_0 = 0x10,