kern/54673: 'stli' driver requires unavailable COMPAT_OLDPCI option

Brian Reichert reichert at shoebox.numachi.com
Sun Jul 20 13:20:16 PDT 2003


>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 at 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 at 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:


More information about the freebsd-bugs mailing list