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.
This commit is contained in:
Till Straumann
2009-10-17 22:26:23 +00:00
parent 0a8f902e76
commit 887e1cb4ea
2 changed files with 8 additions and 2 deletions

View File

@@ -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).

View File

@@ -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 ) {