-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have encountered the following problems:
Hardware: Toshiba Satellite 2650 XDVD with ToPIC100
built-in winmodem and soundcard,
Level One EPC-0100 TB Ethernet PCMCIA
Software: SuSe 6.0, Kernel 2.0.36, gcc 2.7.2.3
PCMCIA 3.1.4
- - Got Compiler errors in "netwave_cs.c" and "wavelan_cs.c"
in "clients" directory.
"copy_to_user" return value was used although this is
defined as memcpy_tofs which seems to be a define in kernel
includes, not a function (see below for an example
of the compiler errors). I had to remove the return
value checking.
- - PCMCIA Cardbus controller ToPIC100 was undefined in
PCMCIA 3.1.4 sources. I did include new ToPic100 defines
at all places where ToPic97 was used (see diffs at the end
of this posting).
- - Had to exclude Irq's 3,4,5,9 in config.opts to trigger the
card to use Irq 10 as in Win98.
- - Still have problems with /etc/rc.d/network and route scripts.
It only works sometimes if additionally dummy network is
configured, I've got the impression that there are still
some race conditions within the scripts. Sometimes I have
to reboot or rerun scripts pcmcia, network and manually
add a route command.
- - When using pcmcia stop and pcmcia start, the card all of a sudden
gets assigned Irq 11. No idea why it does not use Irq 10 as it
did when the system was booted.
Compiler errors:
cc -MD -O3 -Wall -Wstrict-prototypes -pipe -D__KERNEL__ -DMODULE
- -I../include -I/usr/src/linux/include -c netwave_cs.c
netwave_cs.c: In function `netwave_ioctl':
netwave_cs.c:781: void value not ignored as it ought to be
netwave_cs.c:781: void value not ignored as it ought to be
netwave_cs.c:800: void value not ignored as it ought to be
netwave_cs.c:800: void value not ignored as it ought to be
netwave_cs.c:812: void value not ignored as it ought to be
netwave_cs.c:812: void value not ignored as it ought to be
cc -MD -O3 -Wall -Wstrict-prototypes -pipe -D__KERNEL__ -DMODULE
- -I../include -I/usr/src/linux/include -c wavelan_cs.c
wavelan_cs.c: In function `wavelan_ioctl':
wavelan_cs.c:2318: void value not ignored as it ought to be
wavelan_cs.c:2318: void value not ignored as it ought to be
wavelan_cs.c:2342: void value not ignored as it ought to be
wavelan_cs.c:2342: void value not ignored as it ought to be
wavelan_cs.c:2367: void value not ignored as it ought to be
wavelan_cs.c:2367: void value not ignored as it ought to be
wavelan_cs.c:2420: void value not ignored as it ought to be
wavelan_cs.c:2420: void value not ignored as it ought to be
wavelan_cs.c:2429: void value not ignored as it ought to be
wavelan_cs.c:2429: void value not ignored as it ought to be
Diffs:
*** topic.h.orig Sun Nov 14 13:49:18 1999
- --- topic.h Sun Nov 14 00:40:27 1999
***************
*** 43,48 ****
- --- 43,51 ----
#ifndef PCI_DEVICE_ID_TOSHIBA_TOPIC97
#define PCI_DEVICE_ID_TOSHIBA_TOPIC97 0x060f
#endif
+ #ifndef PCI_DEVICE_ID_TOSHIBA_TOPIC100
+ #define PCI_DEVICE_ID_TOSHIBA_TOPIC100 0x0617
+ #endif
/* Register definitions for Toshiba ToPIC95 controllers */
*** i82365.c.orig Sun Nov 14 13:49:41 1999
- --- i82365.c Sun Nov 14 01:02:53 1999
***************
*** 356,362 ****
IS_SMC34C90,
IS_TI1130, IS_TI1131, IS_TI1250A, IS_TI1220, IS_TI1221,
IS_TI1210,
IS_TI1251A, IS_TI1251B, IS_TI1450, IS_TI1225, IS_TI1211,
IS_TI1420,
! IS_TOPIC95_A, IS_TOPIC95_B, IS_TOPIC97,
IS_UNK_PCI, IS_UNK_CARDBUS
#endif
} pcic_id;
- --- 356,362 ----
IS_SMC34C90,
IS_TI1130, IS_TI1131, IS_TI1250A, IS_TI1220, IS_TI1221,
IS_TI1210,
IS_TI1251A, IS_TI1251B, IS_TI1450, IS_TI1225, IS_TI1211,
IS_TI1420,
! IS_TOPIC95_A, IS_TOPIC95_B, IS_TOPIC97, IS_TOPIC100,
IS_UNK_PCI, IS_UNK_CARDBUS
#endif
} pcic_id;
***************
*** 461,466 ****
- --- 461,468 ----
PCI_VENDOR_ID_TOSHIBA, PCI_DEVICE_ID_TOSHIBA_TOPIC95_B },
{ "Toshiba ToPIC97", IS_CARDBUS|IS_TOPIC|IS_DF_PWR,
PCI_VENDOR_ID_TOSHIBA, PCI_DEVICE_ID_TOSHIBA_TOPIC97 },
+ { "Toshiba ToPIC100", IS_CARDBUS|IS_TOPIC|IS_DF_PWR,
+ PCI_VENDOR_ID_TOSHIBA, PCI_DEVICE_ID_TOSHIBA_TOPIC100 },
{ "Unknown", IS_PCI|IS_UNKNOWN, 0, 0 },
{ "Unknown", IS_CARDBUS|IS_DF_PWR|IS_UNKNOWN, 0, 0 }
#endif
***************
*** 1033,1039 ****
static int topic_set_irq_mode(u_short s, int pcsc, int pint)
{
! if (socket[s].type == IS_TOPIC97) {
topic_state_t *p = &socket[s].state.topic;
flip(p->ccr, TOPIC97_ICR_IRQSEL, pcsc);
return 0;
- --- 1035,1041 ----
static int topic_set_irq_mode(u_short s, int pcsc, int pint)
{
! if (socket[s].type == IS_TOPIC97 || socket[s].type ==
IS_TOPIC100) {
topic_state_t *p = &socket[s].state.topic;
flip(p->ccr, TOPIC97_ICR_IRQSEL, pcsc);
return 0;
*** probe.c.orig Sun Nov 14 13:50:17 1999
- --- probe.c Sun Nov 14 00:34:49 1999
***************
*** 95,100 ****
- --- 95,101 ----
{ 0x1179, 0x0603, "Toshiba ToPIC95-A", "Toshiba ToPIC95-A" },
{ 0x1179, 0x060a, "Toshiba ToPIC95-B", "Toshiba ToPIC95-B" },
{ 0x1179, 0x060f, "Toshiba ToPIC97", "Toshiba ToPIC97" },
+ { 0x1179, 0x0617, "Toshiba ToPIC100", "Toshiba ToPIC100" },
{ 0x119b, 0x1221, "Omega Micro 82C092G", "Omega Micro 82C092G"
},
{ 0x8086, 0x1221, "Intel 82092AA", "Intel 82092AA" }
};
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.5.3i for non-commercial use <http://www.pgpi.com>
iQA+AwUBOC63IGCnq5tBZYztEQKRwACdHV5uKb6YLGgHfslI8DZTRE0M9/YAl25O
FtAi74JJ9SJzv9ia8QBlnmw=
=2wJk
-----END PGP SIGNATURE-----
|