Toshiba ToPIC developer info

Komuro komurojun-mbn at nifty.com
Mon Jun 27 08:53:33 EDT 2005



>problem related to this is if cardmgr is not running and a 16-bit card
>is inserted, the following is printed:
>
>cs: unable to map card memory!
>cs: unable to map card memory!


Maybe you need the following patch(yenta_socket.diff)

 static void yenta_get_socket_capabilities(struct yenta_socket *socket, u32 is
a_irq_mask)
 {
-	socket->socket.features |= SS_CAP_PAGE_REGS | SS_CAP_PCCARD | SS_CAP_CARDBUS
;
+        if ((socket->dev->vendor == PCI_VENDOR_ID_TOSHIBA)
+	    && (socket->dev->device <= PCI_DEVICE_ID_TOSHIBA_TOPIC95_B)) 
+		socket->socket.features |= SS_CAP_PCCARD | SS_CAP_CARDBUS;
+	else
+		socket->socket.features |= SS_CAP_PAGE_REGS | SS_CAP_PCCARD
+					| SS_CAP_CARDBUS;
+
 
Best Regards
Komuro




More information about the linux-pcmcia mailing list