1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/sys
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
..
amd64 Use newly introduced cpu_vendor_id to make invariant TSC detection more 2008-11-26 19:29:33 +00:00
arm Convert BWCT and HL200 over to new board mechanism as well. The 2008-11-25 19:05:46 +00:00
boot Fix a typo in previous commit: must call "putn" to print a crlf, 2008-11-26 21:38:43 +00:00
bsm Add support for extended header BSM tokens. Currently we use the 2008-11-11 21:57:03 +00:00
cam Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
cddl MFp4: We don't support TX_CREATE_ACL_ATTR nor TX_MKDIR_ACL_ATTR; code found 2008-11-25 23:05:46 +00:00
compat Document that all the other commands are either 2008-11-26 16:38:43 +00:00
conf - bump __FreeBSD version to reflect added buf_ring, memory barriers, 2008-11-22 05:55:56 +00:00
contrib Fix a number of style issues in the MALLOC / FREE commit. I've tried to 2008-10-23 20:26:15 +00:00
crypto Fix a potential NULL-pointer dereference in padlock(4). 2008-11-17 19:00:36 +00:00
ddb Collect N identical (or near identical) mkdumpheader() implementations into 2008-10-01 22:08:53 +00:00
dev Add basic WOL support for 82550/82551/82558 and 82559 based 2008-11-27 01:57:23 +00:00
fs In null_lookup(), do the needed cleanup instead of panicing saying 2008-11-26 13:41:15 +00:00
gdb Commit SYSINIT() ;-adding patch missed in previous pass. 2008-03-16 13:02:04 +00:00
geom Allow dumpon to a partition of type FS_UNUSED as well. 2008-11-26 05:18:27 +00:00
gnu Adapt to accmode_t changes. 2008-11-14 09:58:16 +00:00
i386 Remove an unused variable. 2008-11-26 22:33:55 +00:00
ia64 Add sv_flags field to struct sysentvec with intention to provide description 2008-11-22 12:36:15 +00:00
isa Allow device hints to wire the unit numbers of devices. 2008-11-18 21:01:54 +00:00
kern Merge more of currently non-functional (i.e. resolving to 2008-11-26 22:32:07 +00:00
kgssapi Call svc_freereq() before returning from the service proc. 2008-11-12 15:31:05 +00:00
libkern Prefix the static shl function with '__' like its parent function __qdivrem to 2008-10-09 20:43:42 +00:00
mips Add sv_flags field to struct sysentvec with intention to provide description 2008-11-22 12:36:15 +00:00
modules Fix standalone module build by generating opt_kgssapi.h. 2008-11-25 16:11:41 +00:00
net Merge more of currently non-functional (i.e. resolving to 2008-11-26 22:32:07 +00:00
net80211 correct sorting 2008-11-23 01:51:14 +00:00
netatalk Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
netgraph Remove unused variable. 2008-11-22 16:55:55 +00:00
netinet Merge more of currently non-functional (i.e. resolving to 2008-11-26 22:32:07 +00:00
netinet6 Merge more of currently non-functional (i.e. resolving to 2008-11-26 22:32:07 +00:00
netipsec Merge more of currently non-functional (i.e. resolving to 2008-11-26 22:32:07 +00:00
netipx Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
netnatm Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
netncp Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
netsmb Implement device cloning for /dev/nsmb, the netsmb control pseudo-device. 2008-11-03 14:23:15 +00:00
nfs Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT. 2008-03-25 09:39:02 +00:00
nfs4client Introduce accmode_t. This is required for NFSv4 ACLs - it will be neccessary 2008-10-28 13:44:11 +00:00
nfsclient Switch the default rpc implementation for NFS back to the new code. I believe 2008-11-14 11:27:53 +00:00
nfsserver Switch the default rpc implementation for NFS back to the new code. I believe 2008-11-14 11:27:53 +00:00
nlm Don't call svc_freereq() before svc_freeargs(). 2008-11-12 15:30:30 +00:00
opencrypto Don't hang if encrypting/decrypting using struct iovecs where one of the 2008-10-30 16:11:07 +00:00
pc98 Improved IDE HDD geometry adjustment. Previous code didn't work with 2008-10-27 08:40:13 +00:00
pccard
pci Move mn over. One of the last stragglers in sys/pci. There's no 2008-11-02 17:04:54 +00:00
powerpc Unbreak previous commit. 2008-11-22 22:15:34 +00:00
rpc Add a missing call to mtx_destroy(). 2008-11-12 12:21:18 +00:00
security Regularize /* FALLTHROUGH */ comments in the BSM event type switch, and 2008-11-25 11:25:45 +00:00
sparc64 Add sv_flags field to struct sysentvec with intention to provide description 2008-11-22 12:36:15 +00:00
sun4v - bump __FreeBSD version to reflect added buf_ring, memory barriers, 2008-11-22 05:55:56 +00:00
sys Make the new CCEQ macro a little more like the old one - first do 2008-11-23 21:01:28 +00:00
tools Remove some unused and broken code that attempted to not invoke locking 2008-11-03 19:57:40 +00:00
ufs Busy ufs filesystem around block of code that does ".." lookup. Since 2008-11-22 13:11:11 +00:00
vm Instead of forcing vn_start_write() to reset mp back to NULL for the 2008-11-16 21:57:54 +00:00
xdr Use the remote address for access control, not the local address. This fixes 2008-11-13 14:36:52 +00:00
xen merge fix for boot-time hang on centos' xen 2008-11-14 07:06:27 +00:00
Makefile Improve the glimpse target: don't index .svn and compile directories. 2008-08-15 14:11:30 +00:00