/* * IDE I/O functions * * Basic PIO and command management functionality. * * This code was split off from ide.c. See ide.c for history and original * copyrights. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2, or (at your option) any * later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * For the avoidance of doubt the "preferred form" of this code is one which * is in an open non patent encumbered format. Where cryptographic key signing * forms part of the process of creating an executable the information * including keys needed to generate an equivalently functional executable * are deemed to be part of the source code. */#include<linux/module.h>#include<linux/types.h>#include<linux/string.h>#include<linux/kernel.h>#include<linux/timer.h>#include<linux/mm.h>#include<linux/interrupt.h>#include<linux/major.h>#include<linux/errno.h>#include<linux/genhd.h>#include<linux/blkpg.h>#include<linux/slab.h>#include<linux/init.h>#include<linux/pci.h>#include<linux/delay.h>#include<linux/ide.h>#include<linux/hdreg.h>#include<linux/completion.h>#include<linux/reboot.h>#include<linux/cdrom.h>#include<linux/seq_file.h>#include<linux/device.h>#include<linux/kmod.h>