Pyun YongHyeon
7137cea0c7
Add basic WOL support for 82550/82551/82558 and 82559 based
...
controllers. ICH based controllers are treated as 82559. 82557,
earlier revision of 82558 and 82559ER have no WOL capability.
o WOL support requires help of a firmware so add check whether
hardware is capable of handling magic frames by reading EEPROM.
o Enable accepting WOL frames only when hardware is about to
suspend or shutdown. Previously fxp(4) used to allow receipt of
magic frame under normal operation mode which could cause
hardware hang if magic frame is received by hardware. Datasheet
clearly states driver should not allow WOL frames under normal
operation mode.
o Disable WOL frame reception in device attach so have fxp(4)
immunize against system hang which can be triggered by magic
packets when the hardware is not in fully initialized state.
o Don't reset all hardware configuration data in fxp_stop()
otherwise important configuration data is lost and this would
reset WOL configuration to default state which in turn cause
hardware hang on receipt of magic frames. To fix the issue,
preserve hardware configuration data by issuing a selective
reset.
o Explicitly disable interrupts after issuing selective reset as
reset may unmask interrupts.
Tested by: Alexey Shuvaev < shuvaev <> physik DOT uni-wuerzburg DOT de >
2008-11-27 01:57:23 +00:00
..
2008-09-12 18:15:12 +00:00
2008-11-04 11:52:50 +00:00
2008-11-25 19:06:20 +00:00
2008-11-12 17:33:36 +00:00
2007-08-04 17:43:11 +00:00
2007-06-17 05:55:54 +00:00
2008-10-03 10:31:31 +00:00
2008-11-07 07:02:28 +00:00
2008-10-02 20:29:45 +00:00
2008-10-07 23:55:32 +00:00
2007-06-17 15:21:09 +00:00
2007-06-17 05:55:54 +00:00
2008-09-15 22:45:14 +00:00
2008-11-12 09:52:06 +00:00
2007-06-17 05:55:54 +00:00
2008-11-03 00:53:54 +00:00
2008-11-06 08:55:46 +00:00
2008-10-23 15:53:51 +00:00
2008-09-27 08:51:18 +00:00
2008-09-07 18:15:34 +00:00
2008-09-27 08:51:18 +00:00
2008-11-25 00:39:03 +00:00
2008-11-24 01:34:56 +00:00
2008-10-14 17:48:36 +00:00
2008-11-22 05:55:56 +00:00
2008-08-22 06:46:55 +00:00
2008-10-27 22:10:01 +00:00
2008-09-27 08:51:18 +00:00
2008-10-13 17:33:55 +00:00
2007-06-17 05:55:54 +00:00
2008-11-21 03:03:57 +00:00
2008-10-23 15:53:51 +00:00
2008-10-27 11:45:31 +00:00
2008-10-25 06:18:12 +00:00
2008-08-29 01:23:16 +00:00
2007-10-12 06:03:46 +00:00
2008-03-06 08:09:45 +00:00
2008-11-26 19:25:13 +00:00
2008-09-27 08:51:18 +00:00
2008-09-27 08:51:18 +00:00
2008-08-13 16:09:40 +00:00
2008-07-09 16:47:55 +00:00
2008-09-27 08:51:18 +00:00
2008-06-30 21:18:27 +00:00
2008-11-23 07:30:07 +00:00
2008-09-30 20:53:15 +00:00
2008-11-19 22:09:03 +00:00
2008-04-05 17:24:44 +00:00
2007-06-17 05:55:54 +00:00
2008-10-27 21:24:34 +00:00
2008-11-26 23:57:23 +00:00
2008-08-06 22:22:27 +00:00
2008-11-06 09:41:31 +00:00
2008-09-08 20:20:44 +00:00
2008-07-11 18:26:12 +00:00
2008-08-27 04:11:03 +00:00
2008-09-30 18:52:43 +00:00
2008-09-27 08:51:18 +00:00
2008-11-23 23:04:28 +00:00
2008-06-23 18:16:25 +00:00
2008-10-02 15:37:58 +00:00
2007-10-20 23:23:23 +00:00
2008-11-27 01:57:23 +00:00
2008-08-23 15:03:26 +00:00
2008-11-17 07:09:40 +00:00
2008-02-01 19:36:27 +00:00
2008-04-26 14:17:21 +00:00
2008-10-04 10:39:31 +00:00
2007-10-20 23:23:23 +00:00
2008-03-08 18:06:48 +00:00
2008-11-26 19:25:13 +00:00
2008-09-07 04:35:04 +00:00
2008-06-06 18:29:56 +00:00
2008-08-25 15:23:54 +00:00
2008-08-01 21:33:07 +00:00
2008-05-29 12:50:46 +00:00
2008-11-11 03:36:15 +00:00
2008-09-08 15:49:07 +00:00
2008-09-27 08:51:18 +00:00
2008-08-08 13:43:56 +00:00
2008-11-14 01:53:10 +00:00
2008-05-12 00:15:30 +00:00
2008-11-25 07:17:11 +00:00
2008-09-27 08:51:18 +00:00
2008-11-11 00:14:10 +00:00
2008-06-07 18:38:02 +00:00
2008-10-27 16:46:50 +00:00
2008-11-26 23:41:18 +00:00
2008-10-14 00:54:15 +00:00
2008-09-27 08:51:18 +00:00
2008-09-03 13:34:31 +00:00
2008-09-27 08:51:18 +00:00
2008-09-22 22:08:43 +00:00
2008-09-24 21:26:46 +00:00
2008-09-26 14:19:52 +00:00
2008-03-05 05:36:09 +00:00
2008-10-23 15:53:51 +00:00
2008-05-12 00:15:30 +00:00
2007-06-16 23:10:00 +00:00
2008-08-28 15:23:18 +00:00
2008-11-17 23:30:19 +00:00
2008-10-14 07:24:18 +00:00
2008-10-25 06:39:17 +00:00
2008-09-27 08:51:18 +00:00
2008-09-27 08:51:18 +00:00
2008-11-23 14:32:40 +00:00
2008-11-02 17:04:54 +00:00
2008-07-21 18:43:02 +00:00
2008-09-27 08:51:18 +00:00
2008-11-24 02:21:50 +00:00
2008-11-24 19:00:57 +00:00
2007-10-12 06:03:46 +00:00
2008-10-03 03:58:16 +00:00
2007-11-22 02:45:00 +00:00
2008-11-19 21:07:33 +00:00
2008-05-31 14:17:36 +00:00
2008-08-01 20:39:18 +00:00
2008-11-22 05:55:56 +00:00
2008-10-27 11:45:31 +00:00
2008-11-26 13:44:11 +00:00
2008-09-27 08:51:18 +00:00
2008-08-27 05:43:46 +00:00
2008-10-02 22:50:11 +00:00
2008-08-05 17:39:37 +00:00
2008-11-13 19:57:33 +00:00
2008-08-14 20:34:46 +00:00
2008-10-14 14:54:14 +00:00
2008-11-16 17:42:02 +00:00
2008-11-16 17:42:02 +00:00
2008-10-25 10:55:49 +00:00
2008-03-03 18:20:17 +00:00
2008-10-27 16:46:50 +00:00
2008-11-24 17:39:39 +00:00
2008-10-23 20:26:15 +00:00
2008-09-06 00:25:16 +00:00
2008-09-27 08:51:18 +00:00
2007-11-03 19:10:14 +00:00
2008-09-10 18:42:19 +00:00
2008-04-26 18:40:59 +00:00
2008-10-29 20:01:26 +00:00
2008-01-21 09:51:28 +00:00
2008-09-08 11:41:20 +00:00
2008-09-26 05:40:56 +00:00
2008-11-18 21:01:54 +00:00
2008-08-23 15:34:31 +00:00
2008-02-14 01:25:01 +00:00
2008-06-06 18:45:32 +00:00
2008-06-17 05:48:42 +00:00
2008-08-07 20:55:20 +00:00
2008-11-05 15:04:03 +00:00
2008-11-23 23:19:31 +00:00
2008-09-27 08:51:18 +00:00
2008-10-23 20:26:15 +00:00
2008-08-14 20:09:58 +00:00
2008-01-18 08:32:08 +00:00
2008-09-27 08:51:18 +00:00
2008-10-14 20:18:57 +00:00
2008-11-17 20:33:13 +00:00
2008-09-27 08:51:18 +00:00
2008-04-26 14:13:48 +00:00
2008-08-14 20:02:34 +00:00
2007-06-17 05:55:54 +00:00
2008-08-26 10:41:49 +00:00
2008-10-06 22:34:17 +00:00
2008-09-27 08:51:18 +00:00
2008-09-12 14:41:53 +00:00
2007-11-16 10:32:10 +00:00
2008-11-22 21:22:53 +00:00
2008-11-26 17:16:54 +00:00
2008-11-25 08:04:40 +00:00
2007-12-05 19:32:59 +00:00
2008-11-13 04:11:01 +00:00
2008-09-26 14:19:52 +00:00
2008-11-17 00:50:59 +00:00
2008-08-25 05:20:17 +00:00
2008-08-14 21:26:29 +00:00
2007-06-17 05:55:54 +00:00
2008-08-27 05:39:44 +00:00
2008-10-27 16:46:50 +00:00
2008-06-04 20:26:57 +00:00
2008-10-27 11:45:31 +00:00
2008-08-10 09:45:52 +00:00