rem: TRACE("EVENT_LINK_CHANGED\n");
add: INIT_DEBUGOUT("EVENT_LINK_CHANGED");
context: event_handler(void *cookie){	struct adapter * adapter = cookie;	int32 events;		for (;;) {		if (acquire_sem_etc(adapter->event_sem, 1, B_CAN_INTERRUPT, 0) == B_BAD_SEM_ID)			return 0;		events = atomic_read(&adapter->event_flags); // read		atomic_and(&adapter->event_flags, ~events);	 // and clear		if (events & EVENT_LINK_CHANGED) {			TRACE("EVENT_LINK_CHANGED\n");			untimeout(em_local_timer, adapter, adapter->timer_handle);			adapter->hw.get_link_status = 1;			em_check_for_link(&adapter->hw);			em_print_link_status(adapter);			adapter->timer_handle =	timeout(em_local_timer, adapter, 2*hz);		}	}}