patch-2.3.15 linux/Documentation/isapnp.txt
Next file: linux/Documentation/isdn/INTERFACE
Previous file: linux/Documentation/ioctl-number.txt
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Mon Aug 23 10:52:02 1999
- Orig file:
v2.3.14/linux/Documentation/isapnp.txt
- Orig date:
Sun Aug 15 11:50:35 1999
diff -u --recursive --new-file v2.3.14/linux/Documentation/isapnp.txt linux/Documentation/isapnp.txt
@@ -90,9 +90,8 @@
---------------------
All ISA PNP configuration registers are accessible via lowlevel
-isapnp_cfg_(set|get)_(byte|word|dword) functions.
+isapnp_(read|write)_(byte|word|dword) functions.
-Before any lowlevel function
The function isapnp_cfg_begin() must be called before any lowlevel function.
The function isapnp_cfg_end() must be always called after configuration
otherwise the access to the ISA PnP configuration functions will be blocked.
@@ -129,10 +128,12 @@
return -ENODEV;
if (dev->prepare(dev)<0)
return -EAGAIN;
+ if (!(dev->resource[0].flags & IORESOURCE_IO))
+ return -ENODEV;
if (!dev->ro) {
/* override resource */
if (user_port != USER_PORT_AUTO_VALUE)
- dev->resource[0].start = user_port;
+ isapnp_resource_change(&dev->resource[0], user_port, 1);
}
if (dev->activate(dev)<0) {
printk("isapnp configure failed (out of resources?)\n");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)