-static inline void sca_set_carrier(port_t *port)
-{
- if (!(sca_in(get_msci(port) + ST3, port_to_card(port)) & ST3_DCD)) {
-#ifdef DEBUG_LINK
- printk(KERN_DEBUG "%s: sca_set_carrier on\n",
- port_to_dev(port)->name);
-#endif
- netif_carrier_on(port_to_dev(port));
- } else {
-#ifdef DEBUG_LINK
- printk(KERN_DEBUG "%s: sca_set_carrier off\n",
- port_to_dev(port)->name);
-#endif
- netif_carrier_off(port_to_dev(port));
- }
-}
-