From sw@core.pourIX.net  Sat Aug 25 13:33:45 2001
Return-Path: <sw@core.pourIX.net>
Received: from core.pourIX.net (core.pourIX.net [62.4.18.12])
	by hub.freebsd.org (Postfix) with ESMTP id 89A3937B407
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 25 Aug 2001 13:33:44 -0700 (PDT)
	(envelope-from sw@core.pourIX.net)
Received: (from sw@localhost)
	by core.pourIX.net (8.11.5/8.11.5) id f7PKXZL02041;
	Sat, 25 Aug 2001 22:33:35 +0200 (CEST)
	(envelope-from sw)
Message-Id: <200108252033.f7PKXZL02041@core.pourIX.net>
Date: Sat, 25 Aug 2001 22:33:35 +0200 (CEST)
From: Sameh Ghane <sw@anthologeek.net>
Reply-To: Sameh Ghane <sw@anthologeek.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: pcibios lacks PCIBIOS_BIOS_PRESENT definition
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         30085
>Category:       i386
>Synopsis:       pcibios lacks PCIBIOS_BIOS_PRESENT definition
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 25 13:40:00 PDT 2001
>Closed-Date:    Mon Aug 27 15:36:44 PDT 2001
>Last-Modified:  Mon Aug 27 15:38:33 PDT 2001
>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:

From: Sameh Ghane <sw@anthologeek.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:  
Subject: Re: i386/30085: pcibios lacks PCIBIOS_BIOS_PRESENT definition
Date: Sat, 25 Aug 2001 23:23:10 +0200

 Le (On) Sat, Aug 25, 2001 at 10:33:35PM +0200, Sameh Ghane ecrivit (wrote):
 > 
 > 	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.)
 
 Humm. Looks like there is a serious problem with the cvsup server I used. I tried
 another one (cvsup.de.freebsd.org), and everything was fine in bios.h...
 
 Sorry guys,
 
 -- 
 Sameh
State-Changed-From-To: open->closed 
State-Changed-By: cjc 
State-Changed-When: Mon Aug 27 15:36:44 PDT 2001 
State-Changed-Why:  
Originator believes the problem was due to corrupted source. 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30085 
>Unformatted:
