misc/82107: fm801.c fix

Johannes W. hnaz at we-are-root.org
Fri Jun 10 10:30:10 GMT 2005


>Number:         82107
>Category:       misc
>Synopsis:       fm801.c fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 10 10:30:08 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Johannes W.
>Release:        5.4-RELEASE
>Organization:
>Environment:
FreeBSD neurogen.fuck.this.shit 5.4-RELEASE-p2 FreeBSD 5.4-RELEASE-p2 #1: Fri Jun 10 11:01:57 CEST 2005     root at neurogen.fuck.this.shit:/usr/src/sys/i386/compile/NEUROGEN  i386

>Description:
I have written a small patch so that the fortemedia driver 'fm801.c' supports all cards that use that driver. i have a card with ac97 codec and it is tunerless [at least i think that] and bus_space_read_1(st, sh, 0x28) returns not 0, but 0x80.
The patch simply checks for both results, cause on both returns the driver should be used.
>How-To-Repeat:
      
>Fix:
see patch
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list