diff options
| author | Arnaldo Carvalho de Melo <acme@conectiva.com.br> | 2002-05-30 18:36:32 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@conectiva.com.br> | 2002-05-30 18:36:32 -0300 |
| commit | 34beb106cde7da233d4df35dd3d6cf4fee937caa (patch) | |
| tree | 2f6047513722259104cccc8fcb3aded043af4ce3 /include/linux/brlock.h | |
| parent | d0f0cde199764cb083b3617c3739f45b1a73052d (diff) | |
net/llc/*.c
Forward port of LLC from 2.4 to 2.5. This is the forward port of the LLC stack
released by Procom Inc. for Linux 2.0.30, I have heavily modified it to make
it similar to other Linux network stacks, using of struct sk_buff to represent
in-transit packets and doing massive code cleanups.
Jay Schullist contributed support for BSD Sockets, as the original code had
only a simple in kernel API for use by upper layer protocols, such as the
NetBEUI stack also provided by Procom for 2.0.30.
This code is basically what I had previously submitted to Alan Cox for his
2.4-ac series and that is even shipped in source form, in the Red Hat 7.3
kernel package, plus cleanups wrt standard syntax for labeled elements and
further use of this C construct to make the code more resilient to editing
mistakes, using the compiler to further check the source code.
TODO:
Make it completely SMP safe, as the reports of successful usage up to now and
the testing is done on UP.
Completely remove the old LLC code in the kernel, that is still there for things
like Appletalk, IPX, etc to use, also check that all these protocols work
correctly with this new LLC stack.
This code is already being used in the linux-sna project and Jay Schullist
has been developing support for things like DLSw and other protocols that works
on top of 802.2.
I'll be releasing patches with the NetBEUI stack and updated samba-2.0.6 patches
for use with NetBEUI and this LLC stack in the future. But the NetBEUI code
is available already in my kernel.org ftp area at:
ftp://ftp.kernel.org/pub/linux/kernel/people/acme.
Please report problems to me or the linux-sna mailing list, instructions on how
to subscribe are available at http://www.linux-sna.org website.
Diffstat (limited to 'include/linux/brlock.h')
| -rw-r--r-- | include/linux/brlock.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/brlock.h b/include/linux/brlock.h index e36492e06f04..68c200512604 100644 --- a/include/linux/brlock.h +++ b/include/linux/brlock.h @@ -28,13 +28,15 @@ * load-locked/store-conditional cpus (ALPHA/MIPS/PPC) and * compare-and-swap cpus (Sparc64). So we control which * implementation to use with a __BRLOCK_USE_ATOMICS define. -DaveM + * + * Added BR_LLC_LOCK for use in net/core/ext8022.c -acme */ /* Register bigreader lock indices here. */ enum brlock_indices { BR_GLOBALIRQ_LOCK, BR_NETPROTO_LOCK, - + BR_LLC_LOCK, __BR_END }; |
