summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/ata_if.m
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ata/ata_if.m')
-rw-r--r--sys/dev/ata/ata_if.m18
1 files changed, 0 insertions, 18 deletions
diff --git a/sys/dev/ata/ata_if.m b/sys/dev/ata/ata_if.m
index 5894c8c..821f5b2 100644
--- a/sys/dev/ata/ata_if.m
+++ b/sys/dev/ata/ata_if.m
@@ -39,24 +39,6 @@
INTERFACE ata;
CODE {
- static int ata_null_locking(device_t dev, int mode)
- {
- struct ata_channel *ch = device_get_softc(dev);
-
- return ch->unit;
- }
-};
-METHOD int locking {
- device_t channel;
- int mode;
-} DEFAULT ata_null_locking;
-HEADER {
-#define ATA_LF_LOCK 0x0001
-#define ATA_LF_UNLOCK 0x0002
-#define ATA_LF_WHICH 0x0004
-};
-
-CODE {
static int ata_null_setmode(device_t dev, int target, int mode)
{
OpenPOWER on IntegriCloud