Re: [PATCH] PnP Changes for 2.5.72

From: Adam Belay (ambx1@neo.rr.com)
Date: Wed Jun 18 2003 - 18:45:56 EST


# 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.1418 -> 1.1419
# drivers/pnp/interface.c 1.15 -> 1.16
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/06/18 ambx1@neo.rr.com 1.1419
# [PNP] re-add the previously removed "get" command in interface.c.
#
# This patch adds the "get" command because at this point it is needed
# for debugging.
# --------------------------------------------
#
diff -Nru a/drivers/pnp/interface.c b/drivers/pnp/interface.c
--- a/drivers/pnp/interface.c Wed Jun 18 23:01:42 2003
+++ b/drivers/pnp/interface.c Wed Jun 18 23:01:42 2003
@@ -333,6 +333,13 @@
                 pnp_init_resources(&dev->res);
                 goto done;
         }
+ if (!strnicmp(buf,"get",3)) {
+ down(&pnp_res_mutex);
+ if (pnp_can_read(dev))
+ dev->protocol->get(dev, &dev->res);
+ up(&pnp_res_mutex);
+ goto done;
+ }
         if (!strnicmp(buf,"set",3)) {
                 int nport = 0, nmem = 0, nirq = 0, ndma = 0;
                 if (dev->active)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:28 EST