Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64389
b: refs/heads/master
c: 6c504d3
h: refs/heads/master
i:
  64387: 3d92e35
v: v3
  • Loading branch information
Bjorn Helgaas authored and Len Brown committed Aug 24, 2007
1 parent 21e88b4 commit 7a9ea72
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4721a4cc8864f0eb92958c3e0479e7994e8b0072
refs/heads/master: 6c504d30a48157b7c05a0dfb6a799c72095e957d
7 changes: 0 additions & 7 deletions trunk/drivers/pnp/isapnp/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@
#if 0
#define ISAPNP_REGION_OK
#endif
#if 0
#define ISAPNP_DEBUG
#endif

int isapnp_disable; /* Disable ISA PnP */
static int isapnp_rdp; /* Read Data Port */
Expand Down Expand Up @@ -93,7 +90,6 @@ MODULE_LICENSE("GPL");

static unsigned char isapnp_checksum_value;
static DEFINE_MUTEX(isapnp_cfg_mutex);
static int isapnp_detected;
static int isapnp_csn_count;

/* some prototypes */
Expand Down Expand Up @@ -1067,7 +1063,6 @@ static int __init isapnp_init(void)
struct pnp_dev *dev;

if (isapnp_disable) {
isapnp_detected = 0;
printk(KERN_INFO "isapnp: ISA Plug & Play support disabled\n");
return 0;
}
Expand Down Expand Up @@ -1115,15 +1110,13 @@ static int __init isapnp_init(void)
}
isapnp_set_rdp();
}
isapnp_detected = 1;
if (isapnp_rdp < 0x203 || isapnp_rdp > 0x3ff) {
cards = isapnp_isolate();
if (cards < 0 || (isapnp_rdp < 0x203 || isapnp_rdp > 0x3ff)) {
#ifdef ISAPNP_REGION_OK
release_region(_PIDXR, 1);
#endif
release_region(_PNPWRP, 1);
isapnp_detected = 0;
printk(KERN_INFO
"isapnp: No Plug & Play device found\n");
return 0;
Expand Down

0 comments on commit 7a9ea72

Please sign in to comment.