Subject: kern/9235: tlp fails after sleep or suspend w/ CardBus 21143
To: None <gnats-bugs@gnats.netbsd.org>
From: Jonathan Stone <jonathan@Cuisinart.DSG.Stanford.EDU>
List: netbsd-bugs
Date: 01/18/2000 21:51:35
>Number:         9235
>Category:       kern
>Synopsis:       tlp  fails after sleep or suspend w/ CardBus 21143
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 18 21:50:59 2000
>Last-Modified:
>Originator:     Jonathan Stone
>Organization:
	Stanford DSG
>Release:        NetBSD-current from November 20, 1999 through Jan 18, 2000
>Environment:
	
System: NetBSD Cuisinart.DSG.Stanford.EDU 1.4P NetBSD 1.4P (CARDBUS) #28: Sun Dec 12 15:54:19 PST 1999 jonathan@Cuisinart.DSG.Stanford.EDU:/cuisinart/src/NetBSD/src/sys/arch/i386/compile/CARDBUS i386


>Description:

The tlp driver does not support power management features.  However,
CardBus 21143 chips like the NetGear FA-510 do use those features.

When inserted in a laptop system, the driver works fine untils sleep
or suspend. After hte first sleep or suspend, the driver fails to
resume the card properly. The link lights go out, the card sends and
receives no packets, and logs messages complaining that

	Jan 13 16:53:59 Cuisinart /netbsd: tlp0: filter setup timeout
	Jan 13 16:53:59 Cuisinart /netbsd: tlp0: reset failed to complete


>How-To-Repeat:

	Insert CardBus card with Jason's latest tlp driver in a laptop..
	Suspend or resume the laptop.  Notice the dead ethernet.

>Fix:

	Implement  power management features. The datasheet is on the 
	Intel web site. I'd look at it, except if I do, Jason is bound
	to be doing it himself anyway (HI Jason!) or to redo my code.


>Audit-Trail:
>Unformatted: