diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2009-10-17 22:26:23 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2009-10-17 22:26:23 +0000 |
commit | 887e1cb4ead87f87ce2266b7ac2d0de34b3dc48b (patch) | |
tree | b88835a2432df3a87b66fc5124eacadf625ea893 /c/src/lib/libbsp/powerpc/mvme3100 | |
parent | 2009-10-17 Till Straumann <strauman@slac.stanford.edu> (diff) | |
download | rtems-887e1cb4ead87f87ce2266b7ac2d0de34b3dc48b.tar.bz2 |
2009-10-17 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c: rtems 4.10 no longer allows simple binary
semaphores to have priority inheritance attribute; use ordinary
binary semaphore instead.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mvme3100')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme3100/ChangeLog | 8 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog b/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog index 5596e9e148..714fd04cda 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog +++ b/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog @@ -1,6 +1,12 @@ 2009-10-17 Till Straumann <strauman@slac.stanford.edu> - *network/if_tsec_pub.h, network/tsec.c: Enhanced low-level + * network/tsec.c: rtems 4.10 no longer allows simple binary + semaphores to have priority inheritance attribute; use ordinary + binary semaphore instead. + +2009-10-17 Till Straumann <strauman@slac.stanford.edu> + + * network/if_tsec_pub.h, network/tsec.c: Enhanced low-level API allowing the user to selectively enable/disable/acknowledge interrupts and to install their own ISR (rather than having the driver posting an event to a single task). diff --git a/c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c b/c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c index b62143cdc2..8efdcc6919 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c +++ b/c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c @@ -1190,7 +1190,7 @@ struct ifnet *ifp; sc = rtems_semaphore_create( rtems_build_name('t','s','e','X'), 1, - RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_PRIORITY | RTEMS_INHERIT_PRIORITY | RTEMS_DEFAULT_ATTRIBUTES, + RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY | RTEMS_INHERIT_PRIORITY | RTEMS_DEFAULT_ATTRIBUTES, 0, &new_mtx); if ( RTEMS_SUCCESSFUL != sc ) { |