Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jul 2003 20:29:25 GMT
From:      Brian Reichert <reichert@shoebox.numachi.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/54673: 'stli' driver requires unavailable COMPAT_OLDPCI option
Message-ID:  <200307192029.h6JKTPQX002428@shoebox.numachi.com>
Resent-Message-ID: <200307202020.h6KKKEGw079371@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         54673
>Category:       kern
>Synopsis:       'stli' driver requires unavailable COMPAT_OLDPCI option
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 20 13:20:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Brian Reichert <reichert@numachi.com>
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
Numachi
>Environment:
System: FreeBSD shoebox.numachi.com 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386

	

Stock 5.1-R install on a P-166.

>Description:
	

The stli(4) driver won't build without a kernel option called COMPAT_OLDPCI:

i386/isa/stallion.c(62):

#ifndef COMPAT_OLDPCI
#error "The stallion pci driver requires the old pci compatibility shims"
#endif

However, this apparently is not a recognized kernel option:

  # grep COMPAT_OLDPCI SHOEBOX 
  options         COMPAT_OLDPCI
  # config SHOEBOX
  SHOEBOX: unknown option "COMPAT_OLDPCI"

>How-To-Repeat:

  Attempt to follow the instructions inplied by stallion.c, as above. :)

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307192029.h6JKTPQX002428>