From 51979813dd925388e6fed5bd6d29705f256b5bb6 Mon Sep 17 00:00:00 2001 From: Mike Pritchard Date: Mon, 9 Aug 1999 13:52:12 +0000 Subject: [PATCH] Remove a reference to config(8) when IRQ 2 is remapped to IRQ 9. Config(8) contains no documentation about this. Fix the help for the PnP irq and drq commands. This one caused me a bit of head scratching the other night while trying to get a problematic PnP device configured properly. --- sys/i386/i386/userconfig.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/i386/i386/userconfig.c b/sys/i386/i386/userconfig.c index ed08d90774b..493d5d0386a 100644 --- a/sys/i386/i386/userconfig.c +++ b/sys/i386/i386/userconfig.c @@ -46,7 +46,7 @@ ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF ** THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ** - ** $Id: userconfig.c,v 1.150 1999/07/25 13:16:06 cracauer Exp $ + ** $Id: userconfig.c,v 1.151 1999/08/09 10:34:44 phk Exp $ **/ /** @@ -2544,7 +2544,7 @@ visuserconfig(void) * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: userconfig.c,v 1.150 1999/07/25 13:16:06 cracauer Exp $ + * $Id: userconfig.c,v 1.151 1999/08/09 10:34:44 phk Exp $ */ #include "scbus.h" @@ -2854,7 +2854,7 @@ set_device_irq(CmdParm *parms) irq = parms[1].parm.iparm; if (irq == 2) { - printf("Warning: Remapping IRQ 2 to IRQ 9 - see config(8)\n"); + printf("Warning: Remapping IRQ 2 to IRQ 9\n"); irq = 9; } else if (irq != -1 && irq > 15) { @@ -3080,8 +3080,8 @@ helpfunc(CmdParm *parms) "pnp [os|bios]\tset parameters using FreeBSD or BIOS\n" "pnp [portX ]\tset addr for port X (0..7)\n" "pnp [memX ]\tset addr for memory range X (0..3)\n" - "pnp [irq ]\tset irq X (0..1) to number, 0=unused\n" - "pnp [drq ]\tset drq X (0..1) to number, 4=unused\n"); + "pnp [irqX ]\tset irq X (0..1) to number, 0=unused\n" + "pnp [drqX ]\tset drq X (0..1) to number, 4=unused\n"); #endif #if NEISA > 0 printf("eisa \t\tSet the number of EISA slots to probe\n");