Date: Thu, 14 Apr 2005 15:01:39 GMT From: Rafael B Albuquerque <rafael@totalsecurity.com.br> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/79911: devclass_get_drivers Message-ID: <200504141501.j3EF1d9S001155@www.freebsd.org> Resent-Message-ID: <200504141510.j3EFAJcX088485@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504141501.j3EF1d9S001155>