aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pcmcia/nsp_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/pcmcia/nsp_cs.c')
-rw-r--r--drivers/scsi/pcmcia/nsp_cs.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/drivers/scsi/pcmcia/nsp_cs.c b/drivers/scsi/pcmcia/nsp_cs.c
index 07b73ca2a7e0..9326c2c14880 100644
--- a/drivers/scsi/pcmcia/nsp_cs.c
+++ b/drivers/scsi/pcmcia/nsp_cs.c
@@ -1530,15 +1530,6 @@ static int nsp_eh_host_reset(struct scsi_cmnd *SCpnt)
1530 PCMCIA functions 1530 PCMCIA functions
1531**********************************************************************/ 1531**********************************************************************/
1532 1532
1533/*======================================================================
1534 nsp_cs_attach() creates an "instance" of the driver, allocating
1535 local data structures for one device. The device is registered
1536 with Card Services.
1537
1538 The dev_link structure is initialized, but we don't actually
1539 configure the card at this point -- we wait until we receive a
1540 card insertion event.
1541======================================================================*/
1542static int nsp_cs_probe(struct pcmcia_device *link) 1533static int nsp_cs_probe(struct pcmcia_device *link)
1543{ 1534{
1544 scsi_info_t *info; 1535 scsi_info_t *info;
@@ -1563,12 +1554,6 @@ static int nsp_cs_probe(struct pcmcia_device *link)
1563} /* nsp_cs_attach */ 1554} /* nsp_cs_attach */
1564 1555
1565 1556
1566/*======================================================================
1567 This deletes a driver "instance". The device is de-registered
1568 with Card Services. If it has been released, all local data
1569 structures are freed. Otherwise, the structures will be freed
1570 when the device is released.
1571======================================================================*/
1572static void nsp_cs_detach(struct pcmcia_device *link) 1557static void nsp_cs_detach(struct pcmcia_device *link)
1573{ 1558{
1574 nsp_dbg(NSP_DEBUG_INIT, "in, link=0x%p", link); 1559 nsp_dbg(NSP_DEBUG_INIT, "in, link=0x%p", link);
@@ -1581,12 +1566,6 @@ static void nsp_cs_detach(struct pcmcia_device *link)
1581} /* nsp_cs_detach */ 1566} /* nsp_cs_detach */
1582 1567
1583 1568
1584/*======================================================================
1585 nsp_cs_config() is scheduled to run after a CARD_INSERTION event
1586 is received, to configure the PCMCIA socket, and to make the
1587 ethernet device available to the system.
1588======================================================================*/
1589
1590static int nsp_cs_config_check(struct pcmcia_device *p_dev, void *priv_data) 1569static int nsp_cs_config_check(struct pcmcia_device *p_dev, void *priv_data)
1591{ 1570{
1592 nsp_hw_data *data = priv_data; 1571 nsp_hw_data *data = priv_data;
@@ -1697,11 +1676,6 @@ static int nsp_cs_config(struct pcmcia_device *link)
1697} /* nsp_cs_config */ 1676} /* nsp_cs_config */
1698 1677
1699 1678
1700/*======================================================================
1701 After a card is removed, nsp_cs_release() will unregister the net
1702 device, and release the PCMCIA configuration. If the device is
1703 still open, this will be postponed until it is closed.
1704======================================================================*/
1705static void nsp_cs_release(struct pcmcia_device *link) 1679static void nsp_cs_release(struct pcmcia_device *link)
1706{ 1680{
1707 scsi_info_t *info = link->priv; 1681 scsi_info_t *info = link->priv;