From: Adam Belay <ambx1@neo.rr.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] PnP Changes for 2.5.64
Date: Mon, 10 Mar 2003 00:05:56 +0000 [thread overview]
Message-ID: <20030310000556.GB2118@neo.rr.com> (raw)
In-Reply-To: <20030310000521.GA2118@neo.rr.com>
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1078 -> 1.1079
# drivers/pnp/interface.c 1.13 -> 1.14
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/03/09 ambx1@neo.rr.com 1.1079
# Interface Changes
#
# A few minor revisions. Simpifies a few commands and adds config mode
# information.
# --------------------------------------------
#
diff -Nru a/drivers/pnp/interface.c b/drivers/pnp/interface.c
--- a/drivers/pnp/interface.c Sun Mar 9 23:48:09 2003
+++ b/drivers/pnp/interface.c Sun Mar 9 23:48:09 2003
@@ -332,11 +332,18 @@
buffer->buffer = buf;
buffer->curr = buffer->buffer;
+ pnp_printf(buffer,"mode = ");
+ if (dev->config_mode & PNP_CONFIG_MANUAL)
+ pnp_printf(buffer,"manual\n");
+ else
+ pnp_printf(buffer,"auto\n");
+
pnp_printf(buffer,"state = ");
if (dev->active)
pnp_printf(buffer,"active\n");
else
pnp_printf(buffer,"disabled\n");
+
for (i = 0; i < PNP_MAX_PORT; i++) {
if (pnp_port_valid(dev, i)) {
pnp_printf(buffer,"io");
@@ -402,13 +409,13 @@
retval = pnp_activate_dev(dev);
goto done;
}
- if (!strnicmp(buf,"auto-config",11)) {
+ if (!strnicmp(buf,"auto",4)) {
if (dev->active)
goto done;
retval = pnp_auto_config_dev(dev);
goto done;
}
- if (!strnicmp(buf,"clear-config",12)) {
+ if (!strnicmp(buf,"clear",5)) {
if (dev->active)
goto done;
spin_lock(&pnp_lock);
next prev parent reply other threads:[~2003-03-10 4:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-10 0:05 [PATCH] PnP Changes for 2.5.64 Adam Belay
2003-03-10 0:05 ` Adam Belay [this message]
2003-03-10 0:06 ` Adam Belay
2003-03-10 0:07 ` Adam Belay
2003-03-10 23:15 ` Ruslan U. Zakirov
2003-03-10 20:17 ` Adam Belay
2003-03-10 0:07 ` Adam Belay
2003-03-10 0:07 ` Adam Belay
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=20030310000556.GB2118@neo.rr.com \
--to=ambx1@neo.rr.com \
--cc=linux-kernel@vger.kernel.org \
/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