lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 6 Mar 2008 19:09:57 +0530
From:	shri <shree0007@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: mmc card detection

Hi,
   My proto board does not have a mmc card detect line to the mmc controller.

   So, I have to insert the card before i insmod the mmc drivers.
   If i change a card i have to rmmod and insmod the driver.

   I would like to know is there anyway i can make mmc to free up all the
   resources for the removed card. entries and reinitialise the new
card inserted if any
   without rmmod or insmod.

   I thought of using mmc_remove_host and mmc_add_host in the driver
which could be triggered by
   an application through sysfs entry.


   Are the calls mmc_remove_host and mmc_add_host the correct call to
use in this case?


Regards,
shri
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ