* [PATCH] s390 (6/8): dasd driver.
@ 2003-08-29 17:10 Martin Schwidefsky
0 siblings, 0 replies; only message in thread
From: Martin Schwidefsky @ 2003-08-29 17:10 UTC (permalink / raw)
To: linux-kernel, torvalds
- Remove initialization of device.name.
- Export some functions.
diffstat:
drivers/s390/block/dasd.c | 13 ++++++++-----
drivers/s390/block/dasd_ioctl.c | 3 +--
2 files changed, 9 insertions(+), 7 deletions(-)
diff -urN linux-2.6/drivers/s390/block/dasd.c linux-2.6-s390/drivers/s390/block/dasd.c
--- linux-2.6/drivers/s390/block/dasd.c Sat Aug 23 01:55:31 2003
+++ linux-2.6-s390/drivers/s390/block/dasd.c Fri Aug 29 18:55:10 2003
@@ -7,7 +7,7 @@
* Bugreports.to..: <Linux390@de.ibm.com>
* (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999-2001
*
- * $Revision: 1.101 $
+ * $Revision: 1.107 $
*/
#include <linux/config.h>
@@ -411,7 +411,7 @@
target = DASD_STATE_ACCEPT;
if (device->target != target) {
if (device->state == target)
- wake_up(&dasd_init_waitq);
+ wake_up(&dasd_init_waitq);
device->target = target;
}
if (device->state != device->target)
@@ -1752,9 +1752,6 @@
int devno;
int ret = 0;
- snprintf(cdev->dev.name, DEVICE_NAME_SIZE,
- "Direct Access Storage Device");
-
devno = _ccw_device_get_device_number(cdev);
if (dasd_autodetect
&& (ret = dasd_add_range(devno, devno, DASD_FEATURE_DEFAULT))) {
@@ -2083,6 +2080,12 @@
EXPORT_SYMBOL(dasd_start_IO);
EXPORT_SYMBOL(dasd_term_IO);
+EXPORT_SYMBOL_GPL(dasd_generic_probe);
+EXPORT_SYMBOL_GPL(dasd_generic_remove);
+EXPORT_SYMBOL_GPL(dasd_generic_set_online);
+EXPORT_SYMBOL_GPL(dasd_generic_set_offline);
+EXPORT_SYMBOL_GPL(dasd_generic_auto_online);
+
/*
* Overrides for Emacs so that we follow Linus's tabbing style.
* Emacs will notice this stuff at the end of the file and automatically
diff -urN linux-2.6/drivers/s390/block/dasd_ioctl.c linux-2.6-s390/drivers/s390/block/dasd_ioctl.c
--- linux-2.6/drivers/s390/block/dasd_ioctl.c Sat Aug 23 01:56:59 2003
+++ linux-2.6-s390/drivers/s390/block/dasd_ioctl.c Fri Aug 29 18:55:10 2003
@@ -125,8 +125,7 @@
/*
* Enable device.
- * FIXME: how can we get here if the device is not already enabled?
- * -arnd
+ * used by dasdfmt after BIODASDDISABLE to retrigger blocksize detection
*/
static int
dasd_ioctl_enable(struct block_device *bdev, int no, long args)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-08-29 17:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-29 17:10 [PATCH] s390 (6/8): dasd driver Martin Schwidefsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®