From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 14 15:10:19 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D88916A4CE for ; Thu, 14 Apr 2005 15:10:19 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 425B543D5A for ; Thu, 14 Apr 2005 15:10:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3EFAJ0d088486 for ; Thu, 14 Apr 2005 15:10:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3EFAJcX088485; Thu, 14 Apr 2005 15:10:19 GMT (envelope-from gnats) Resent-Date: Thu, 14 Apr 2005 15:10:19 GMT Resent-Message-Id: <200504141510.j3EFAJcX088485@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rafael B Albuquerque Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF55C16A4CE for ; Thu, 14 Apr 2005 15:01:39 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id A00C143D2F for ; Thu, 14 Apr 2005 15:01:39 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j3EF1dWn001156 for ; Thu, 14 Apr 2005 15:01:39 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j3EF1d9S001155; Thu, 14 Apr 2005 15:01:39 GMT (envelope-from nobody) Message-Id: <200504141501.j3EF1d9S001155@www.freebsd.org> Date: Thu, 14 Apr 2005 15:01:39 GMT From: Rafael B Albuquerque To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/79911: devclass_get_drivers X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 15:10:19 -0000 >Number: 79911 >Category: kern >Synopsis: devclass_get_drivers >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 14 15:10:18 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Rafael B Albuquerque >Release: 5.4-STABLE (14/04/2004 10AM Brazil 07AM GMT) >Organization: >Environment: When I had the problem I was using 5.3-RELEASE, so I did the cvusp and the problem begins, know I have: FreeBSD slack.slacknet.com.br 5.4-STABLE FreeBSD 5.4-STABLE #1: Thu Apr 14 09:59:22 BRT 2005 root@slack.slacknet.com.br:/usr/obj/usr/src/sys/kernel i386 >Description: After updating the source via CVSUP, the problem happens when I was doing the "buildkernel". The errormsg was: no previous prototype for devclass_get_drivers (line 1082 of /usr/src/sys/kern/subr_bus.c) The kernel did not compile till this problem was solve. >How-To-Repeat: Try to compile the kernel again. >Fix: It was a kind of simple error. To solve this error I just add the line: int     devclass_get_drivers(devclass_t dc, driver_t ***listp, int *countp); in the files: /usr/src/sys/sys/bus.h /usr/include/sys/bus.h And the problem solved, and now I am with Freebsd 5.4-STABLE >Release-Note: >Audit-Trail: >Unformatted: