DragonFly BSD

CVS log for src/sys/contrib/dev/oltr/Attic/if_oltr.c

[BACK] Up to [DragonFly] / src / sys / contrib / dev / oltr

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.27
Mon Aug 27 14:55:59 2007 UTC (6 years, 7 months ago) by hasso
Branches: MAIN
CVS tags: HEAD
FILE REMOVED
Changes since revision 1.26: +1 -1 lines
Nuke token ring support. This also means one blob less in DragonFly.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun May 13 18:33:56 2007 UTC (6 years, 11 months ago) by swildner
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_10_Slip, DragonFly_RELEASE_1_10
Diff to: previous 1.25: preferred, unified
Changes since revision 1.25: +2 -2 lines
Fix numerous spelling mistakes.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Dec 23 00:27:02 2006 UTC (7 years, 4 months ago) by swildner
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_8_Slip, DragonFly_RELEASE_1_8
Diff to: previous 1.24: preferred, unified
Changes since revision 1.24: +94 -94 lines
Rename printf -> kprintf in sys/ and add some defines where necessary
(files which are used in userland, too).

Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Oct 25 20:55:52 2006 UTC (7 years, 5 months ago) by dillon
Branches: MAIN
Diff to: previous 1.23: preferred, unified
Changes since revision 1.23: +2 -5 lines
Do a major clean-up of the BUSDMA architecture.  A large number of
essentially machine-independant drivers use the structures and definitions
in machine-dependant directories that are really machine-independant in
nature.

Split <machine/bus_dma.h> into machine-depdendant and machine-independant parts
and make the primary access run through <sys/bus_dma.h>.

Remove <machine/bus.h>, <machine/bus_memio.h> and <machine/bus_pio.h>.  The
optimizations related to bus_memio.h and bus_pio.h made a huge mess,
introduced machine-specific knowledge into essentially machine-independant
drivers, and required specific #include file orderings to do their job.
They may be reintroduced in some other form later on.

Move <machine/resource.h> to <sys/bus_resource.h>.  The contents of the file
is machine-independant or can be made a superset across many platforms.

Make <sys/bus.h> include <sys/bus_dma.h> and <sys/bus_resource.h> and
include <sys/bus.h> where necessary. Remove all #include's of
<machine/resource.h> and <machine/bus.h>.  That is, make the BUSDMA
infrastructure integral to I/O-mapped and memory-mapped accesses to devices
and remove a large chunk of machine-specific dependancies from drivers.
bus_if.h and device_if.h are now required to be present when using <sys/bus.h>.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Sep 5 00:55:36 2006 UTC (7 years, 7 months ago) by dillon
Branches: MAIN
Diff to: previous 1.22: preferred, unified
Changes since revision 1.22: +17 -17 lines
Rename malloc->kmalloc, free->kfree, and realloc->krealloc.  Pass 1

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Nov 30 13:35:24 2005 UTC (8 years, 4 months ago) by sephe
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_6_Slip, DragonFly_RELEASE_1_6, DragonFly_RELEASE_1_4_Slip, DragonFly_RELEASE_1_4
Diff to: previous 1.21: preferred, unified
Changes since revision 1.21: +2 -2 lines
unbreak LINT building

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Oct 12 17:35:49 2005 UTC (8 years, 6 months ago) by dillon
Branches: MAIN
Diff to: previous 1.20: preferred, unified
Changes since revision 1.20: +2 -2 lines
Remove the INTR_TYPE_* flags.  The interrupt type is no longer used to
figure out which spl*() set an interrupt belongs to, because, well, spl's
no longer exist.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Jun 16 21:12:26 2005 UTC (8 years, 10 months ago) by dillon
Branches: MAIN
Diff to: previous 1.19: preferred, unified
Changes since revision 1.19: +2 -2 lines
Remove all remaining SPL code.  Replace the mtd_cpl field in the machine
dependant thread structure and the CPL field in the interrupt stack frame
with dummies (so structural sizes do not change, yet).  Remove all interrupt
handler SPL mask and mask pointer code.  Remove all spl*() functions except
for splz().

Note that doreti uses a temporary CPL mask internally to accumulate a bitmap
of FAST interrupts which could not be executed due to not being able to get
the BGL.  This mask has no outside visibility.

Note that gd_fpending and gd_ipending still exist to support critical section
interrupt deferment.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Jun 9 20:47:37 2005 UTC (8 years, 10 months ago) by swildner
Branches: MAIN
Diff to: previous 1.18: preferred, unified
Changes since revision 1.18: +2 -1 lines
Unbreak LINT by including <sys/thread2.h> where proper and remove some
unused s variables.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Jun 4 14:24:33 2005 UTC (8 years, 10 months ago) by corecode
Branches: MAIN
Diff to: previous 1.17: preferred, unified
Changes since revision 1.17: +35 -36 lines
convert spl*() to critical sections.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue May 24 20:58:56 2005 UTC (8 years, 11 months ago) by dillon
Branches: MAIN
Diff to: previous 1.16: preferred, unified
Changes since revision 1.16: +3 -2 lines
Get rid of bus_{disable,enable}_intr(), it wasn't generic enough for
our needs.

Implement some generic atomic.h functions to aid in the implementation of
a low level mutex.

Implement a generic low level sleep-mutex serializer, kern/lwkt_serialize.c.
The serializer is designed to be a replacement for SPL calls but may also
be used for other very low level work (e.g. lockmgr interlocks).

Add a serializer argument to BUS_SETUP_INTR().  When non-NULL, the interrupt
handler will no longer be protected by an SPL so e.g. spl*() will no
longer protect against that device's interrupts.

The IF queueing and dequeueing mechanisms may no longer depend on outside
SPL state because network driver interrupt handlers are no longer required to
enter splnet().  Use critical sections for the moment.  The IFQ and
IFF_OACTIVE interactions are not yet MP safe.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Jan 23 20:21:30 2005 UTC (9 years, 3 months ago) by joerg
Branches: MAIN
CVS tags: DragonFly_Stable, DragonFly_RELEASE_1_2_Slip, DragonFly_RELEASE_1_2
Diff to: previous 1.15: preferred, unified
Changes since revision 1.15: +3 -9 lines
Use BPF_TAP and BPF_MTAP instead of the expanded versions where possible.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Sep 16 23:34:19 2004 UTC (9 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: DragonFly_Snap29Sep2004
Diff to: previous 1.14: preferred, unified
Changes since revision 1.14: +7 -6 lines
timeout/untimeout ==> callout_*

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Jul 23 07:16:24 2004 UTC (9 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: DragonFly_Snap13Sep2004
Diff to: previous 1.13: preferred, unified
Changes since revision 1.13: +3 -22 lines
Unify the input handling of the low-level network stack by introducing
a new field if_input in struct ifnet.

Initialize if_input and if_output in the low-level _ifattach routines.

Make the _output and _input routines static, they are now called via
(*ifp->if_input) and (*ifp->if_output) accordingly. The exception is
ether_input which is still used with the second argument, the pointer
to the Ethernet header instead of always taking it from the mbuf.

Move the if_attach and bpfattach from the devices into fddi_ifattach,
atm_ifattach.

Remove the first argument to VLAN_INPUT_TAG, the pointer to the
Ethernet header. Expect it at the beginning of the mbuf.

Adjust the network for the changed API. Exceptions are wl(4), le(4),
ie(4), el(4), ed(4) and de(4), because they use a on-stack Ethernet
header. Another exception is the ATM stack, which uses a fourth argument
to atm_input.

Inspired-by: NetBSd net/if.h, rev 1.36

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Jul 17 09:43:05 2004 UTC (9 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.12: preferred, unified
Changes since revision 1.12: +3 -3 lines
Add if_broadcastaddr to struct ifnet to hold the link layer broadcast address.
Use this in place of the various direct references esp. to etherbroadcastaddr.

Inspired-by: NetBSD if.h, rev. 1.29

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Jun 2 14:42:48 2004 UTC (9 years, 10 months ago) by eirikn
Branches: MAIN
CVS tags: DragonFly_1_0_REL, DragonFly_1_0_RC1, DragonFly_1_0A_REL
Diff to: previous 1.11: preferred, unified
Changes since revision 1.11: +5 -5 lines
Change mbug allocation flags from M_ to MB_ to avoid confusion with malloc
flags.

Requested by: Jeffrey Hsu

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Apr 1 07:27:16 2004 UTC (10 years ago) by joerg
Branches: MAIN
Diff to: previous 1.10: preferred, unified
Changes since revision 1.10: +4 -3 lines
Add the "struct ucred *" argument to the remaining nic ioctls in LINT.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Feb 12 23:04:08 2004 UTC (10 years, 2 months ago) by joerg
Branches: MAIN
Diff to: previous 1.9: preferred, unified
Changes since revision 1.9: +1 -1 lines
Always include net/bpf.h

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Feb 12 22:38:59 2004 UTC (10 years, 2 months ago) by joerg
Branches: MAIN
Diff to: previous 1.8: preferred, unified
Changes since revision 1.8: +6 -10 lines
Add __DragonFly__

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jan 6 01:40:45 2004 UTC (10 years, 3 months ago) by dillon
Branches: MAIN
Diff to: previous 1.7: preferred, unified
Changes since revision 1.7: +2 -4 lines
if_xname support Part 1/2: Convert most of the netif devices to use
if_initname().

Submitted-by: Max Laier <max@love2party.net>

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Aug 27 11:02:14 2003 UTC (10 years, 7 months ago) by rob
Branches: MAIN
Diff to: previous 1.6: preferred, unified
Changes since revision 1.6: +34 -34 lines
remove oldstyle __P prototypes

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Aug 7 21:16:48 2003 UTC (10 years, 8 months ago) by dillon
Branches: MAIN
Diff to: previous 1.5: preferred, unified
Changes since revision 1.5: +2 -2 lines
kernel tree reorganization stage 1: Major cvs repository work (not logged as
commits) plus a major reworking of the #include's to accomodate the
relocations.

    * CVS repository files manually moved.  Old directories left intact
      and empty (temporary).

    * Reorganize all filesystems into vfs/, most devices into dev/,
      sub-divide devices by function.

    * Begin to move device-specific architecture files to the device
      subdirs rather then throwing them all into, e.g. i386/include

    * Reorganize files related to system busses, placing the related code
      in a new bus/ directory.  Also move cam to bus/cam though this may
      not have been the best idea in retrospect.

    * Reorganize emulation code and place it in a new emulation/ directory.

    * Remove the -I- compiler option in order to allow #include file
      localization, rename all config generated X.h files to use_X.h to
      clean up the conflicts.

    * Remove /usr/src/include (or /usr/include) dependancies during the
      kernel build, beyond what is normally needed to compile helper
      programs.

    * Make config create 'machine' softlinks for architecture specific
      directories outside of the standard <arch>/include.

    * Bump the config rev.

    WARNING! after this commit /usr/include and /usr/src/sys/compile/*
    should be regenerated from scratch.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jul 27 01:49:48 2003 UTC (10 years, 9 months ago) by hmp
Branches: MAIN
Diff to: previous 1.4: preferred, unified
Changes since revision 1.4: +0 -1 lines
Consolidate usage of MIN/MAX().

Instead, just remove the conditional processing in sys/param.h so
it's available to all files.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jul 23 02:30:14 2003 UTC (10 years, 9 months ago) by dillon
Branches: MAIN
Diff to: previous 1.3: preferred, unified
Changes since revision 1.3: +1 -0 lines
LINT pass.  Cleanup missed proc->thread conversions and get rid of warnings.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jul 19 21:14:15 2003 UTC (10 years, 9 months ago) by dillon
Branches: MAIN
Diff to: previous 1.2: preferred, unified
Changes since revision 1.2: +3 -3 lines
Remove the priority part of the priority|flags argument to tsleep().  Only
flags are passed now.  The priority was a user scheduler thingy that is not
used by the LWKT subsystem.  For process statistics assume sleeps without
P_SINTR set to be disk-waits, and sleeps with it set to be normal sleeps.

This commit should not contain any operational changes.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 04:28:20 2003 UTC (10 years, 10 months ago) by dillon
Branches: MAIN
CVS tags: PRE_MP
Diff to: previous 1.1: preferred, unified
Changes since revision 1.1: +1 -0 lines
Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids.  Most
ids have been removed from !lint sections and moved into comment sections.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jun 17 02:53:56 2003 UTC (10 years, 10 months ago) by dillon
Branches: MAIN
CVS tags: FREEBSD_4_FORK
import from FreeBSD RELENG_4 1.11.2.5

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options