If not then what would be the appropriate way of fixing this? Should I
create a new header file for the IOCTLs or should I have the ps2esdi.h and
xd.h files include hdreg.h?
rjc@snoopy:/usr/src/linux$find . -name "*.h" | xargs grep GETGEO | more
./include/linux/hdreg.h:#define HDIO_GETGEO 0x0301 /* get
device geometry */ ./include/linux/ps2esdi.h:#define HDIO_GETGEO 0x0301
./drivers/block/xd.h:#define HDIO_GETGEO 0x0301 /* get
drive geometry */ ./drivers/block/xd.h:/* this structure is returned to the
HDIO_GETGEO ioctl */
Russell Coker