Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: [2.6.0-test1] yenta_socket.c:yenta_get_status returns bad value compared to 2.4 | From | Stefan Jones <> | Date | 03 Aug 2003 12:07:41 +0100 |
| |
On Sat, 2003-08-02 at 18:08, Russell King wrote: > On Sat, Jul 26, 2003 at 07:31:59PM +0100, Stefan Jones wrote: > > It seems the the change from 2.4 to 2.6 made the state read from > > yenta_get_status change it's return value. It reads it from hardware. > > The get_status function is called multiple times during card > initialisation. I doubt that it is valid to compare the get_status > values from 2.4 and 2.6 kernels, without examining what's going on > in the cs.c code. > > It would be helpful if you could apply the patch to cs.c which I've > recently posted to lkml, and report back the full kernel messages, > including the messages you get from your printk in yenta_get_status(). > > The message id was: <20030802173352.A1895@flint.arm.linux.org.uk>
Ok, here is the result. I had to use "probe_mem=0" to stop my machine hanging ( as I said before).
I started pcmcia "/etc/init.d/pcmcia start" I then inserted card for the first time and nothing happened .. removed it and reinserted it was configured fine.
Thanks for your time,
Stefan
Log:
[ Snip .... ] Linux Kernel Card Services 3.1.22 options: [pci] [cardbus] [pm] Yenta IRQ list 0038, PCI irq11 Socket status: 30000417 parse_events: socket d080002c thread ce4db3c0 events 00000080 yenta_get_status: status=30000417 socket d080002c status 00000041 cs: IO port probe 0x0c00-0x0cff: clean. cs: IO port probe 0x0800-0x08ff: clean. cs: IO port probe 0x0100-0x04ff: excluding 0x2c8-0x2cf 0x378-0x37f 0x3c0-0x3df 0x4d0-0x4d7 cs: IO port probe 0x0a00-0x0aff: clean. yenta_get_status: status=30000417
**** INSERT card first time nothing gets printed
**** REINSERT card and I get this;
parse_events: socket d080002c thread ce4db3c0 events 00000080 yenta_get_status: status=30000417 socket d080002c status 00000041 parse_events: socket d080002c thread ce4db3c0 events 00000080 yenta_get_status: status=30000411 socket d080002c status 000000c1 socket_insert: skt d080002c yenta_get_status: status=30000411 socket_setup: skt d080002c status 000000c1 yenta_get_status: status=30000411 socket_reset: skt d080002c yenta_get_status: status=30000419 yenta_get_status: status=30000419 orinoco.c 0.13e (David Gibson <hermes@gibson.dropbear.id.au> and others) orinoco_cs.c 0.13e (David Gibson <hermes@gibson.dropbear.id.au> and others) eth1: Station identity 001f:0006:0001:0003 eth1: Looks like an Intersil firmware version 1.3.6 eth1: Ad-hoc demo mode supported eth1: IEEE standard IBSS ad-hoc mode supported eth1: WEP supported, 104-bit key eth1: MAC address 00:09:5B:4A:B1:B6 eth1: Station name "Prism I" eth1: ready eth1: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |