예제 #1
0
static void __exit ibm_rtl_exit(void)
{
	if (rtl_table) {
		RTL_DEBUG("cleaning up");
		/* do not leave the machine in SMI-free mode */
		ibm_rtl_write(0);
		/* unmap, unlink and remove all traces */
		rtl_teardown_sysfs();
		iounmap(ebda_map);
		rtl_port_unmap(rtl_cmd_addr);
	}
}
예제 #2
0
static void __exit ibm_rtl_exit(void)
{
    if (rtl_table) {
        RTL_DEBUG("cleaning up");

        ibm_rtl_write(0);

        rtl_teardown_sysfs();
        iounmap(ebda_map);
        rtl_port_unmap(rtl_cmd_addr);
    }
}