Re: resetting a cardbus device

"M. Warner Losh" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
In message: <[email protected]>
            Mike Tancsa <[email protected]> writes:
: I am working with a cardbus modem that is somewhat buggy.  Unfortunately, I 
: dont have much documentation for its AT Command set (its a GPRS modem) and 
: at&f or atz does not seem to reset it properly when it goes "wonky".  The 
: only way is to pull it out and put it back in.  Unfortunately, I want to 
: remotely deploy this device so I cant physically do that.  A reboot seems 
: to work, but thats not the greatest thing to do either.
: 
: dmesg shows
: 
: 
: cbb0: <RF5C476 PCI-CardBus Bridge> mem 0xe6400000-0xe6400fff irq 12 at 
: device 10.0 on pci0
: cardbus0: <CardBus bus> on cbb0
: pccard0: <16-bit PCCard bus> on cbb0
: cbb1: <RF5C476 PCI-CardBus Bridge> mem 0xe6405000-0xe6405fff irq 5 at 
: device 10.1 on pci0
: cardbus1: <CardBus bus> on cbb1
: pccard1: <16-bit PCCard bus> on cbb1
: 
: sio4: <Sony Ericsson GC82 PC Card> at port 0x3e8-0x3ef irq 12 function 0 
: config 32 on pccard0
: sio4: type 16550A
: sio4: unable to activate interrupt in fast mode - using normal mode
: 
: This is a RELENG_5 box from 5.3-STABLE FreeBSD 5.3-STABLE #0: Wed Dec 22

You could create a sio_pci.ko module that just has the sio_pci.c file
in it.  You can also create a custom sio.ko module w/o this.  Then you
can unload/load that module.

Warner
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.