Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2001 22:33:35 +0200 (CEST)
From:      Sameh Ghane <sw@anthologeek.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   i386/30085: pcibios lacks PCIBIOS_BIOS_PRESENT definition
Message-ID:  <200108252033.f7PKXZL02041@core.pourIX.net>

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

>Number:         30085
>Category:       i386
>Synopsis:       pcibios lacks PCIBIOS_BIOS_PRESENT definition
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 25 13:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Sameh Ghane
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
PourIX
>Environment:
System: FreeBSD noon.anthologeek.net 4.3-STABLE FreeBSD 4.3-STABLE #0: Thu Jul 19 00:37:47 GMT 2001     root@devnull.nospaceleft.net:/usr/obj/usr/src/sys/NOON  i386

	SMP (bi PIII 500Mhz), 4.3-STABLE to 4.4-PRE-RELEASE upgrade.

>Description:

	After cvsup to RELENG_4, and buildworld, buildkernel fails:

/usr/src/sys/i386/isa/pci_cfgreg.c: In function `pcibios_get_version':
/usr/src/sys/i386/isa/pci_cfgreg.c:76: `PCIBIOS_BIOS_PRESENT' undeclared (first use in this function)
/usr/src/sys/i386/isa/pci_cfgreg.c:76: (Each undeclared identifier is reported only once
/usr/src/sys/i386/isa/pci_cfgreg.c:76: for each function it appears in.)

	
>How-To-Repeat:

	cvsup to -STABLE
	cd /usr/src
	make buildkernel

>Fix:

Patch for /usr/src/sys/i386/include/pc/bios.h:

--- bios.h.orig Sat Aug 25 22:25:40 2001
+++ bios.h      Sat Aug 25 22:25:26 2001
@@ -207,6 +207,7 @@
 /*
  * PCI BIOS functions
  */
+#define PCIBIOS_BIOS_PRESENT           0xb101
 #define PCIBIOS_READ_CONFIG_BYTE       0xb108
 #define PCIBIOS_READ_CONFIG_WORD       0xb109
 #define PCIBIOS_READ_CONFIG_DWORD      0xb10a


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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