Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
8cd13562
Commit
8cd13562
authored
Apr 29, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://bk.arm.linux.org.uk/linux-2.5-pcmcia
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
3f66d6ac
9514d15a
Changes
35
Hide whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
14 additions
and
305 deletions
+14
-305
drivers/bluetooth/bluecard_cs.c
drivers/bluetooth/bluecard_cs.c
+0
-13
drivers/bluetooth/bt3c_cs.c
drivers/bluetooth/bt3c_cs.c
+0
-13
drivers/bluetooth/btuart_cs.c
drivers/bluetooth/btuart_cs.c
+0
-13
drivers/bluetooth/dtl1_cs.c
drivers/bluetooth/dtl1_cs.c
+0
-13
drivers/char/pcmcia/synclink_cs.c
drivers/char/pcmcia/synclink_cs.c
+0
-6
drivers/ide/legacy/ide-cs.c
drivers/ide/legacy/ide-cs.c
+0
-8
drivers/isdn/hardware/avm/avm_cs.c
drivers/isdn/hardware/avm/avm_cs.c
+0
-8
drivers/isdn/hisax/avma1_cs.c
drivers/isdn/hisax/avma1_cs.c
+0
-8
drivers/isdn/hisax/elsa_cs.c
drivers/isdn/hisax/elsa_cs.c
+0
-8
drivers/isdn/hisax/sedlbauer_cs.c
drivers/isdn/hisax/sedlbauer_cs.c
+0
-8
drivers/mtd/maps/pcmciamtd.c
drivers/mtd/maps/pcmciamtd.c
+0
-9
drivers/net/pcmcia/3c574_cs.c
drivers/net/pcmcia/3c574_cs.c
+0
-10
drivers/net/pcmcia/3c589_cs.c
drivers/net/pcmcia/3c589_cs.c
+0
-8
drivers/net/pcmcia/axnet_cs.c
drivers/net/pcmcia/axnet_cs.c
+0
-8
drivers/net/pcmcia/com20020_cs.c
drivers/net/pcmcia/com20020_cs.c
+0
-8
drivers/net/pcmcia/fmvj18x_cs.c
drivers/net/pcmcia/fmvj18x_cs.c
+0
-10
drivers/net/pcmcia/ibmtr_cs.c
drivers/net/pcmcia/ibmtr_cs.c
+0
-8
drivers/net/pcmcia/nmclan_cs.c
drivers/net/pcmcia/nmclan_cs.c
+0
-11
drivers/net/pcmcia/pcnet_cs.c
drivers/net/pcmcia/pcnet_cs.c
+0
-8
drivers/net/pcmcia/smc91c92_cs.c
drivers/net/pcmcia/smc91c92_cs.c
+0
-8
drivers/net/pcmcia/xirc2ps_cs.c
drivers/net/pcmcia/xirc2ps_cs.c
+0
-7
drivers/net/wireless/airo_cs.c
drivers/net/wireless/airo_cs.c
+0
-8
drivers/net/wireless/netwave_cs.c
drivers/net/wireless/netwave_cs.c
+0
-8
drivers/net/wireless/orinoco_cs.c
drivers/net/wireless/orinoco_cs.c
+0
-8
drivers/net/wireless/ray_cs.c
drivers/net/wireless/ray_cs.c
+0
-6
drivers/net/wireless/wavelan_cs.c
drivers/net/wireless/wavelan_cs.c
+0
-10
drivers/parport/parport_cs.c
drivers/parport/parport_cs.c
+0
-8
drivers/pcmcia/ds.c
drivers/pcmcia/ds.c
+4
-3
drivers/scsi/pcmcia/aha152x_stub.c
drivers/scsi/pcmcia/aha152x_stub.c
+0
-10
drivers/scsi/pcmcia/fdomain_stub.c
drivers/scsi/pcmcia/fdomain_stub.c
+0
-10
drivers/scsi/pcmcia/nsp_cs.c
drivers/scsi/pcmcia/nsp_cs.c
+0
-7
drivers/scsi/pcmcia/qlogic_stub.c
drivers/scsi/pcmcia/qlogic_stub.c
+0
-10
drivers/serial/8250_cs.c
drivers/serial/8250_cs.c
+0
-9
drivers/telephony/ixj_pcmcia.c
drivers/telephony/ixj_pcmcia.c
+0
-9
include/pcmcia/ds.h
include/pcmcia/ds.h
+10
-6
No files found.
drivers/bluetooth/bluecard_cs.c
View file @
8cd13562
...
...
@@ -822,19 +822,6 @@ int bluecard_close(bluecard_info_t *info)
return
0
;
}
/* ======================== Card services ======================== */
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
dev_link_t
*
bluecard_attach
(
void
)
{
bluecard_info_t
*
info
;
...
...
drivers/bluetooth/bt3c_cs.c
View file @
8cd13562
...
...
@@ -569,19 +569,6 @@ int bt3c_close(bt3c_info_t *info)
return
0
;
}
/* ======================== Card services ======================== */
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
dev_link_t
*
bt3c_attach
(
void
)
{
bt3c_info_t
*
info
;
...
...
drivers/bluetooth/btuart_cs.c
View file @
8cd13562
...
...
@@ -576,19 +576,6 @@ int btuart_close(btuart_info_t *info)
return
0
;
}
/* ======================== Card services ======================== */
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
dev_link_t
*
btuart_attach
(
void
)
{
btuart_info_t
*
info
;
...
...
drivers/bluetooth/dtl1_cs.c
View file @
8cd13562
...
...
@@ -555,19 +555,6 @@ int dtl1_close(dtl1_info_t *info)
return
0
;
}
/* ======================== Card services ======================== */
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
dev_link_t
*
dtl1_attach
(
void
)
{
dtl1_info_t
*
info
;
...
...
drivers/char/pcmcia/synclink_cs.c
View file @
8cd13562
...
...
@@ -527,12 +527,6 @@ static void mgslpc_detach(dev_link_t *);
static
dev_info_t
dev_info
=
"synclink_cs"
;
static
dev_link_t
*
dev_list
=
NULL
;
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/*
* 1st function defined in .text section. Calling this function in
* init_module() followed by a breakpoint allows a remote debugger
...
...
drivers/ide/legacy/ide-cs.c
View file @
8cd13562
...
...
@@ -103,14 +103,6 @@ static void ide_detach(dev_link_t *);
static
dev_link_t
*
dev_list
=
NULL
;
/*====================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/*======================================================================
ide_attach() creates an "instance" of the driver, allocating
...
...
drivers/isdn/hardware/avm/avm_cs.c
View file @
8cd13562
...
...
@@ -118,14 +118,6 @@ typedef struct local_info_t {
dev_node_t
node
;
}
local_info_t
;
/*====================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/*======================================================================
avmcs_attach() creates an "instance" of the driver, allocating
...
...
drivers/isdn/hisax/avma1_cs.c
View file @
8cd13562
...
...
@@ -130,14 +130,6 @@ typedef struct local_info_t {
dev_node_t
node
;
}
local_info_t
;
/*====================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/*======================================================================
avma1cs_attach() creates an "instance" of the driver, allocating
...
...
drivers/isdn/hisax/elsa_cs.c
View file @
8cd13562
...
...
@@ -170,14 +170,6 @@ typedef struct local_info_t {
int
busy
;
}
local_info_t
;
/*====================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/*======================================================================
elsa_cs_attach() creates an "instance" of the driver, allocatingx
...
...
drivers/isdn/hisax/sedlbauer_cs.c
View file @
8cd13562
...
...
@@ -178,14 +178,6 @@ typedef struct local_info_t {
int
stop
;
}
local_info_t
;
/*====================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/*======================================================================
sedlbauer_attach() creates an "instance" of the driver, allocating
...
...
drivers/mtd/maps/pcmciamtd.c
View file @
8cd13562
...
...
@@ -106,16 +106,7 @@ MODULE_PARM(mem_type, "i");
MODULE_PARM_DESC
(
mem_type
,
"Set Memory type (0=Flash, 1=RAM, 2=ROM, default=0)"
);
static
inline
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/* read/write{8,16} copy_{from,to} routines with window remapping to access whole card */
static
caddr_t
remap_window
(
struct
map_info
*
map
,
unsigned
long
to
)
{
struct
pcmciamtd_dev
*
dev
=
(
struct
pcmciamtd_dev
*
)
map
->
map_priv_1
;
...
...
drivers/net/pcmcia/3c574_cs.c
View file @
8cd13562
...
...
@@ -273,16 +273,6 @@ static void flush_stale_links(void)
}
}
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
#if CS_RELEASE_CODE < 0x2911
CardServices
(
ReportError
,
dev_info
,
(
void
*
)
func
,
(
void
*
)
ret
);
#else
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
#endif
}
/*
tc574_attach() creates an "instance" of the driver, allocating
local data structures for one device. The device is registered
...
...
drivers/net/pcmcia/3c589_cs.c
View file @
8cd13562
...
...
@@ -193,14 +193,6 @@ static void flush_stale_links(void)
}
}
/*====================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/*======================================================================
tc589_attach() creates an "instance" of the driver, allocating
...
...
drivers/net/pcmcia/axnet_cs.c
View file @
8cd13562
...
...
@@ -157,14 +157,6 @@ static void flush_stale_links(void)
}
}
/*====================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/*======================================================================
We never need to do anything when a axnet device is "initialized"
...
...
drivers/net/pcmcia/com20020_cs.c
View file @
8cd13562
...
...
@@ -163,14 +163,6 @@ static void flush_stale_links(void)
}
}
/*====================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/*======================================================================
com20020_attach() creates an "instance" of the driver, allocating
...
...
drivers/net/pcmcia/fmvj18x_cs.c
View file @
8cd13562
...
...
@@ -261,16 +261,6 @@ static void flush_stale_links(void)
}
}
/*====================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/*====================================================================*/
static
dev_link_t
*
fmvj18x_attach
(
void
)
{
local_info_t
*
lp
;
...
...
drivers/net/pcmcia/ibmtr_cs.c
View file @
8cd13562
...
...
@@ -157,14 +157,6 @@ static void flush_stale_links(void)
}
}
/*====================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
static
int
netdev_ethtool_ioctl
(
struct
net_device
*
dev
,
void
*
useraddr
)
{
u32
ethcmd
;
...
...
drivers/net/pcmcia/nmclan_cs.c
View file @
8cd13562
...
...
@@ -456,17 +456,6 @@ static void flush_stale_links(void)
}
}
/* ----------------------------------------------------------------------------
cs_error
Report a Card Services related error.
---------------------------------------------------------------------------- */
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/* ----------------------------------------------------------------------------
nmclan_attach
Creates an "instance" of the driver, allocating local data
...
...
drivers/net/pcmcia/pcnet_cs.c
View file @
8cd13562
...
...
@@ -255,14 +255,6 @@ static void flush_stale_links(void)
}
}
/*====================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/*======================================================================
We never need to do anything when a pcnet device is "initialized"
...
...
drivers/net/pcmcia/smc91c92_cs.c
View file @
8cd13562
...
...
@@ -324,14 +324,6 @@ static void flush_stale_links(void)
}
}
/*====================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/*======================================================================
smc91c92_attach() creates an "instance" of the driver, allocating
...
...
drivers/net/pcmcia/xirc2ps_cs.c
View file @
8cd13562
...
...
@@ -403,13 +403,6 @@ flush_stale_links(void)
}
}
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
static
int
get_tuple_data
(
int
fn
,
client_handle_t
handle
,
tuple_t
*
tuple
)
{
...
...
drivers/net/wireless/airo_cs.c
View file @
8cd13562
...
...
@@ -161,14 +161,6 @@ typedef struct local_info_t {
struct
net_device
*
eth_dev
;
}
local_info_t
;
/*====================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/*======================================================================
This bit of code is used to avoid unregistering network devices
...
...
drivers/net/wireless/netwave_cs.c
View file @
8cd13562
...
...
@@ -353,14 +353,6 @@ static inline short get_int16(u_char* staddr)
return
readw
(
staddr
);
}
/**************************************************************************/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/*
* Wait until the WOC (Write Operation Complete) bit in the
* ASR (Adapter Status Register) is asserted.
...
...
drivers/net/wireless/orinoco_cs.c
View file @
8cd13562
...
...
@@ -144,14 +144,6 @@ orinoco_cs_hard_reset(struct orinoco_private *priv)
/* PCMCIA stuff */
/********************************************************************/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/* Remove zombie instances (card removed, detach pending) */
static
void
flush_stale_links
(
void
)
...
...
drivers/net/wireless/ray_cs.c
View file @
8cd13562
...
...
@@ -314,12 +314,6 @@ static char hop_pattern_length[] = { 1,
static
char
rcsid
[]
=
"Raylink/WebGear wireless LAN - Corey <Thomas corey@world.std.com>"
;
/*===========================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
pcmcia_report_error
(
handle
,
&
err
);
}
/*======================================================================
This bit of code is used to avoid unregistering network devices
...
...
drivers/net/wireless/wavelan_cs.c
View file @
8cd13562
...
...
@@ -65,16 +65,6 @@
* (wavelan modem or i82593)
*/
/*------------------------------------------------------------------*/
/*
* Wrapper for reporting error to cardservices
*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
#ifdef STRUCT_CHECK
/*------------------------------------------------------------------*/
/*
...
...
drivers/parport/parport_cs.c
View file @
8cd13562
...
...
@@ -103,14 +103,6 @@ static int parport_event(event_t event, int priority,
static
dev_info_t
dev_info
=
"parport_cs"
;
static
dev_link_t
*
dev_list
=
NULL
;
/*====================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/*======================================================================
parport_attach() creates an "instance" of the driver, allocating
...
...
drivers/pcmcia/ds.c
View file @
8cd13562
...
...
@@ -130,11 +130,12 @@ extern struct proc_dir_entry *proc_pccard;
/*====================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
pcmcia_report_error
(
handle
,
&
err
);
error_info_t
err
=
{
func
,
ret
};
pcmcia_report_error
(
handle
,
&
err
);
}
EXPORT_SYMBOL
(
cs_error
);
/*======================================================================*/
...
...
drivers/scsi/pcmcia/aha152x_stub.c
View file @
8cd13562
...
...
@@ -113,16 +113,6 @@ static void aha152x_detach(dev_link_t *);
static
dev_link_t
*
dev_list
;
static
dev_info_t
dev_info
=
"aha152x_cs"
;
/*====================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/*====================================================================*/
static
dev_link_t
*
aha152x_attach
(
void
)
{
scsi_info_t
*
info
;
...
...
drivers/scsi/pcmcia/fdomain_stub.c
View file @
8cd13562
...
...
@@ -103,16 +103,6 @@ static dev_link_t *dev_list = NULL;
static
dev_info_t
dev_info
=
"fdomain_cs"
;
/*====================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/*====================================================================*/
static
dev_link_t
*
fdomain_attach
(
void
)
{
scsi_info_t
*
info
;
...
...
drivers/scsi/pcmcia/nsp_cs.c
View file @
8cd13562
...
...
@@ -1469,13 +1469,6 @@ static int nsp_eh_host_reset(Scsi_Cmnd *SCpnt)
PCMCIA functions
**********************************************************************/
/*====================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/*======================================================================
nsp_cs_attach() creates an "instance" of the driver, allocating
local data structures for one device. The device is registered
...
...
drivers/scsi/pcmcia/qlogic_stub.c
View file @
8cd13562
...
...
@@ -102,16 +102,6 @@ static dev_link_t *dev_list = NULL;
static
dev_info_t
dev_info
=
"qlogic_cs"
;
/*====================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/*====================================================================*/
static
dev_link_t
*
qlogic_attach
(
void
)
{
scsi_info_t
*
info
;
...
...
drivers/serial/8250_cs.c
View file @
8cd13562
...
...
@@ -122,15 +122,6 @@ static void serial_detach(dev_link_t *);
static
dev_link_t
*
dev_list
=
NULL
;
/*====================================================================*/
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
/*======================================================================
After a card is removed, do_serial_release() will unregister
...
...
drivers/telephony/ixj_pcmcia.c
View file @
8cd13562
...
...
@@ -43,15 +43,6 @@ static int ixj_event(event_t event, int priority, event_callback_args_t * args);
static
dev_info_t
dev_info
=
"ixj_cs"
;
static
dev_link_t
*
dev_list
=
NULL
;
static
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
)
{
error_info_t
err
=
{
func
,
ret
};
CardServices
(
ReportError
,
handle
,
&
err
);
}
static
dev_link_t
*
ixj_attach
(
void
)
{
client_reg_t
client_reg
;
...
...
include/pcmcia/ds.h
View file @
8cd13562
...
...
@@ -141,11 +141,6 @@ typedef struct dev_link_t {
#define DEV_OK(l) \
((l) && ((l->state & ~DEV_BUSY) == (DEV_CONFIG|DEV_PRESENT)))
int
register_pccard_driver
(
dev_info_t
*
dev_info
,
dev_link_t
*
(
*
attach
)(
void
),
void
(
*
detach
)(
dev_link_t
*
));
int
unregister_pccard_driver
(
dev_info_t
*
dev_info
);
extern
struct
bus_type
pcmcia_bus_type
;
...
...
@@ -157,9 +152,18 @@ struct pcmcia_driver {
struct
device_driver
drv
;
};
/* driver registration */
int
pcmcia_register_driver
(
struct
pcmcia_driver
*
driver
);
void
pcmcia_unregister_driver
(
struct
pcmcia_driver
*
driver
);
#endif
/* __KERNEL__ */
/* legacy driver registration interface. don't use in new code */
int
register_pccard_driver
(
dev_info_t
*
dev_info
,
dev_link_t
*
(
*
attach
)(
void
),
void
(
*
detach
)(
dev_link_t
*
));
int
unregister_pccard_driver
(
dev_info_t
*
dev_info
);
/* error reporting */
void
cs_error
(
client_handle_t
handle
,
int
func
,
int
ret
);
#endif
/* __KERNEL__ */
#endif
/* _LINUX_DS_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment