In contrib/pnpinfo/pnpinfo.c, remove an extraneous parameter from the

call to isolation_protocol().

MFC after:	1 week
This commit is contained in:
Dimitry Andric 2011-12-17 23:43:40 +00:00
parent e2d0cd59c3
commit 6d683f9dfa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228672

View File

@ -599,7 +599,7 @@ main(int argc, char **argv)
/* Try various READ_DATA ports from 0x203-0x3ff */ /* Try various READ_DATA ports from 0x203-0x3ff */
for (rd_port = 0x80; (rd_port < 0xff); rd_port += 0x10) { for (rd_port = 0x80; (rd_port < 0xff); rd_port += 0x10) {
DEB(printf("Trying Read_Port at %x...\n", (rd_port << 2) | 0x3) ); DEB(printf("Trying Read_Port at %x...\n", (rd_port << 2) | 0x3) );
num_pnp_devs = isolation_protocol(rd_port); num_pnp_devs = isolation_protocol();
if (num_pnp_devs) if (num_pnp_devs)
break; break;
} }