Date: Thu, 5 Dec 1996 10:36:50 +0100 (MET) From: Andrzej Bialecki <abial@korin.warman.org.pl> To: freebsd-hackers@FreeBSD.ORG Subject: if_de.c && autosense disabling Message-ID: <Pine.NEB.3.95.961205101304.552A-100000@korin.warman.org.pl>
next in thread | raw e-mail | index | archive | help
Hi! I recently installed an SMC EtherPower card in my machine (2.2-ALPHA, P5 133MHz, 64MB RAM, AHA2940U & Fujitsu 2.4G, MB Soyo Triton HX). I noticed certain behavior of the if_de driver, which is rather annoying. I use 10baseT cable, and during bootup it gets recognized ("autosensed") properly. When I physically disconnected the cable from the card (I had to plug it into another wall socket, on the same hub), the driver began switching to other types of media (AUI, then BNC). Unfortunately, when I reconnected the UTP cable, nothing happened, i.e. the driver was still stuck to the BNC port. And I still didn't see the net, of course. So, perhaps it would be good to add some flag (via ifconfig??? via -c during bootup???) or a compile option to if_de.c to tell the driver that I don't need any autosensing nor switching to other media - I just want my plain vanilla UTP (AUI/BNC/other :-), that's all. I saw such an option in Linux driver, and recompiling the driver with this option worked just fine. Is this a good idea, or a bad one? Or, maybe I'm missing something. BTW, as a side effect to this, switching to other media flushed my routing table so it was totally empty! so after I reconnected UTP cable, I had to make ifconfig down/up to reset the driver to initial state, and still nothing worked. So then I had to make 'route add default....' and so on. Otherwise I could only reboot to make it work. It seems the whole process is too big a penalty for pulling out the cable for just a moment. Andy, +-------------------------------------------------------------------------+ Andrzej Bialecki <abial@warman.org.pl> _) _) _)_) _)_)_) _) _) --------------------------------------- _)_) _) _) _) _)_) _)_) Research and Academic Network in Poland _) _)_) _)_)_)_) _) _) _) Bartycka 18, 00-716 Warsaw, Poland _) _) _) _) _)_)_) _) _) +-------------------------------------------------------------------------+
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.961205101304.552A-100000>