Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



On Tue, 17 Nov 1998, Jason R Thorpe wrote:

> Module Name:  src
> Committed By: thorpej
> Date:         Tue Nov 17 20:44:03 UTC 1998
> 
> Modified Files:
>       src/sys/dev/pcmcia: if_ep_pcmcia.c if_mbe_pcmcia.c if_ne_pcmcia.c
>           if_sm_pcmcia.c
> Log Message:
> Add detach and activate entry points.  Mostly functional except for
> #ifdef notyet'd if_delref() and if_detach(), which will be fixed up
> when that code is committed.

The if_detach code exports two symbols, _HAS_IF_ADDREF and _HAS_IF_ALLOC,
which are intended to help do things like this in a portable way. The
former certainly should be protected by _HAS_IF_ADDREF. if_detach could be
protected by #ifdef _HAS_IF_ALLOC, or we could add _HAS_IF_DETACH. :-)

These exports are intended to help the same driver source work with and
w/o the ifnet and ifa refcounting.

Take care,

Bill




Home | Main Index | Thread Index | Old Index