Il giorno 12/ott/05, alle ore 05:53, Andrew Morton ha scritto:
Yes, I did send a corrected patch some days later, when I found out.
This was the only correction I made there, so you can just trash it.
--- ../../trunk/sis900.h 2005-07-17 10:43:23.000000000 +0200
+++ sis900.h 2005-10-06 12:49:37.000000000 +0200
Please prepare patches in `patch -p1' form. See
That register should report, according to the specs, the status of
the additional power supply needed to keep awake the chip when the
computer is shut down. Usually there is an additional cable to be
installed between the NIC and the motherboard, but on laptops or
embedded chips it's difficult to know.
+ /* Detect Wake on Lan support */
+ ret = inl(CFGPMC & PMESP);
+ if (netif_msg_probe(sis_priv) && (ret & PME_D3C) == 0)
+ printk(KERN_INFO "%s: Wake on LAN only available from
suspend to RAM.", net_dev->name);
How come? Why doesn't it work after an ordinary `halt -p'?
@@ -2015,6 +2082,8 @@
.get_settings = sis900_get_settings,
.set_settings = sis900_set_settings,
.nway_reset = sis900_nway_reset,
+ .get_wol = sis900_get_wol,
+ .set_wol = sis900_set_wol
We normally add a comma to the final field so that subsequent
Thanks for the comments.