X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fnet%2Fsungem.h;fp=drivers%2Fnet%2Fsungem.h;h=13006d759ad858f79737d787aa3010f005b733e0;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=89847215d0066bfb75881b21a61362b4483812b3;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/drivers/net/sungem.h b/drivers/net/sungem.h index 89847215d..13006d759 100644 --- a/drivers/net/sungem.h +++ b/drivers/net/sungem.h @@ -980,15 +980,15 @@ struct gem { int tx_new, tx_old; unsigned int has_wol : 1; /* chip supports wake-on-lan */ - unsigned int asleep : 1; /* chip asleep, protected by pm_mutex */ + unsigned int asleep : 1; /* chip asleep, protected by pm_sem */ unsigned int asleep_wol : 1; /* was asleep with WOL enabled */ - unsigned int opened : 1; /* driver opened, protected by pm_mutex */ + unsigned int opened : 1; /* driver opened, protected by pm_sem */ unsigned int running : 1; /* chip running, protected by lock */ /* cell enable count, protected by lock */ int cell_enabled; - struct mutex pm_mutex; + struct semaphore pm_sem; u32 msg_enable; u32 status;