diff options
author | Alex Dubov <oakad@yahoo.com> | 2006-12-11 01:55:33 +1100 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-02-04 20:54:09 +0100 |
commit | 6412d927313f08808d61b7efba8da43717d4e8d2 (patch) | |
tree | 5fc40ebbf578a9d7cd15fa8d61236f270ac4f6b8 /drivers/ata/pdc_adma.c | |
parent | 1499ead31ede528a657c50761c4780c40f929d6d (diff) |
tifm_7xx1: Merge media insert and media remove functions
Hardware does not say whether card was inserted or removed when reporting
socket events. Moreover, during suspend, media can be removed or switched
to some other card type without notification. Therefore, for each socket
in the change set the following is performed:
1. If there's active device in the socket it's unregistered
2. Media detection is performed
3. If detection recognizes supportable media, new device is registered
This patch also alters some macros and variable names to enhance clarity.
Signed-off-by: Alex Dubov <oakad@yahoo.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/ata/pdc_adma.c')
0 files changed, 0 insertions, 0 deletions