From: Martin Schwidefsky <schwidefsky@de.ibm.com>
To: linux-kernel@vger.kernel.org, torvalds@transmeta.com
Subject: [PATCH] s390 (6/8): dasd driver.
Date: Fri, 29 Aug 2003 19:10:30 +0200 [thread overview]
Message-ID: <20030829171030.GG1242@mschwid3.boeblingen.de.ibm.com> (raw)
- 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)
reply other threads:[~2003-08-29 17:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030829171030.GG1242@mschwid3.boeblingen.de.ibm.com \
--to=schwidefsky@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®