Skip to contentSkip to conversation

remove the obsolete hd driver

PATCH In review Christoph Hellwig 3 participants 3 messages Apr 5, 2017 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove the obsolete hd driver

This driver is for pre-IDE hardisk that are only found in PC from the stoneage of personal computing, and which we don't support elsewhere in the kernel these days.

It's also been marked broken forever.

---
 drivers/block/Kconfig  |  12 -
 drivers/block/Makefile |   1 -
 drivers/block/hd.c     | 819 -------------------------------------------------
 3 files changed, 832 deletions(-)
 delete mode 100644 drivers/block/hd.c
drivers/block/Kconfig +0 -12
index f744de7a0f9b..a1c2e816128f 100644
@@ -514,18 +514,6 @@ config VIRTIO_BLK_SCSI
 	  virtio protocol and not enabled by default by any hypervisor.
 	  Your probably want to virtio-scsi instead.
 
-config BLK_DEV_HD
-	bool "Very old hard disk (MFM/RLL/IDE) driver"
-	depends on HAVE_IDE
-	depends on !ARM || ARCH_RPC || BROKEN
-	help
-	  This is a very old hard disk driver that lacks the enhanced
-	  functionality of the newer ones.
-
-	  It is required for systems with ancient MFM/RLL/ESDI drives.
-
-	  If unsure, say N.
-
 config BLK_DEV_RBD
 	tristate "Rados block device (RBD)"
 	depends on INET && BLOCK
drivers/block/Makefile +0 -1
index 1e9661e26f29..b12c772bbeb3 100644
@@ -30,7 +30,6 @@ obj-$(CONFIG_BLK_DEV_CRYPTOLOOP) += cryptoloop.o
 obj-$(CONFIG_VIRTIO_BLK)	+= virtio_blk.o
 
 obj-$(CONFIG_BLK_DEV_SX8)	+= sx8.o
-obj-$(CONFIG_BLK_DEV_HD)	+= hd.o
 
 obj-$(CONFIG_XEN_BLKDEV_FRONTEND)	+= xen-blkfront.o
 obj-$(CONFIG_XEN_BLKDEV_BACKEND)	+= xen-blkback/
drivers/block/hd.c deleted +0 -819

819 lines not on this page · raw message

Signature · 1 line
2.11.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Christoph Hellwig

This driver is for pre-IDE hardisk that are only found in PC from the stoneage of personal computing, and which we don't support elsewhere in the kernel these days.

It's also been marked broken forever.

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering
maintainer
#2 lore raw
In reply to Christoph Hellwig
Quoted 5 lines · Christoph Hellwig

This driver is for pre-IDE hardisk that are only found in PC from the stoneage of personal computing, and which we don't support elsewhere in the kernel these days.

It's also been marked broken forever.

Applied for 4.12, who'd trust their data to a driver written by Linus anyway. Good riddance.

Signature · 1 line
Jens Axboe