Not a passive solution, but with just two 555 timers, you can make a circuit that can detect 10/100 Mbps, based on the NLP/FLP pulses.
On the other hand, no point in building it yourself, as indicated by others, there will be no cost nor size benefit. It will just be the satisfaction of having built it yourself.
Edit: thinking about this, by adding a (mechanichal toggle) switch to detect auto crossover (MDI-X), one could assume a gigabit network, so all three modes could be detected separately.