From nobody@FreeBSD.org  Tue Jul 22 18:23:52 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id EC55D1065675
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 22 Jul 2008 18:23:52 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id E1BED8FC29
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 22 Jul 2008 18:23:52 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m6MINqFx058838
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 22 Jul 2008 18:23:52 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m6MINq7h058825;
	Tue, 22 Jul 2008 18:23:52 GMT
	(envelope-from nobody)
Message-Id: <200807221823.m6MINq7h058825@www.freebsd.org>
Date: Tue, 22 Jul 2008 18:23:52 GMT
From: Laurence Church <LChurch5@juno.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Cardbus cards Don't function on TI PCIxx12 Controller
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         125880
>Category:       i386
>Synopsis:       [cardbus] Cardbus cards Don't function on TI PCIxx12 Controller
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    imp
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 22 18:30:01 UTC 2008
>Closed-Date:    
>Last-Modified:  Wed Jul 14 09:41:57 UTC 2010
>Originator:     Laurence Church
>Release:        FreeBSD-7.0
>Organization:
>Environment:
Jul 21 19:17:21 laptop kernel: Status is 0x30000920
Jul 21 19:17:21 laptop kernel: cbb0: card inserted: event=0x00000000, state=30000920
Jul 21 19:17:21 laptop kernel: cbb0: cbb_power: 3V
Jul 21 19:17:21 laptop kernel: cbb0: cbb_power: 0V
Jul 21 19:17:28 laptop kernel: Status is 0x30000126

>Description:
I have a Toshiba Satellite A105-S4324, Windows XP reports a TI PCIxx12 software driver for the functioning Cardbus Bridge.  Toshiba can't or won't specify the exact controller that is built into this laptop. I can't find any TI devices that end in xx12 in the list of supported controllers, and the default CB_UNKNOWN handling just seems to detect the cards insertion, turn on it's power, then turn it off.

I traced through the code a little and found the the device/vendor ids are reported back to the cardbus driver as a -1 return from xxx_read_config call.  I'm currently concluding that this hardware is unsupported by FreeBSD...

If I had to guess, I would say that the power up sequence needs something more to bring the card to life?  If you have any ideas of how to get the hardware documentation from either Toshiba or Texas Instruments, please let me know.
>How-To-Repeat:
sysctl hw.cbb.debug=1
sysctl hw.cardbus.debug=1
sysctl hw.cardbus.cis_debug=1

[insert the 32 bit Cardbus card]

>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: imp 
State-Changed-When: Tue Aug 26 23:10:48 MDT 2008 
State-Changed-Why:  
I believe that I've fixed this bug.  It turns out that the power-up 
sequence wasn't waiting long enough for the card to come out of reset. 
Can you retest on -current? 


http://www.freebsd.org/cgi/query-pr.cgi?pr=125880 
State-Changed-From-To: feedback->open 
State-Changed-By: gavin 
State-Changed-When: Tue Aug 25 09:45:58 UTC 2009 
State-Changed-Why:  
Feedback was provided in misfiled PR 138147: 
"I've downloaded a copy of the 8.0-BETA2, doesn't seem to work, either!" 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125880 
Responsible-Changed-From-To: freebsd-i386->imp 
Responsible-Changed-By: remko 
Responsible-Changed-When: Wed Jul 14 09:41:40 UTC 2010 
Responsible-Changed-Why:  
Hey Warner, it seems that it doesnt work yet. Can you please 
look at this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125880 
>Unformatted:
