X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=solaris%2Fppp_mod.c;h=80ca20345644fb583a488bc1f68475eec1f3bd38;hb=9463ee80e45bc2b75969826e1c616ca6a619b49b;hp=8419b3747bd2a0c316309ce5590fdf487072700c;hpb=d1506f182ba87dd019a9d5594f6acea17a77577f;p=ppp.git diff --git a/solaris/ppp_mod.c b/solaris/ppp_mod.c index 8419b37..80ca203 100644 --- a/solaris/ppp_mod.c +++ b/solaris/ppp_mod.c @@ -32,7 +32,7 @@ * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: ppp_mod.c,v 1.2 2002/12/06 09:49:16 paulus Exp $ + * $Id: ppp_mod.c,v 1.3 2004/01/17 05:47:55 carlsonj Exp $ */ /* @@ -91,7 +91,7 @@ static struct dev_ops ppp_ops = { static struct modldrv modldrv = { &mod_driverops, /* says this is a pseudo driver */ - "PPP-2.3 multiplexing driver", + "PPP-2.4.7 multiplexing driver", &ppp_ops /* driver ops */ }; @@ -124,8 +124,13 @@ static int ppp_identify(dip) dev_info_t *dip; { + /* This entry point is not used as of Solaris 10 */ +#ifdef DDI_IDENTIFIED return strcmp(ddi_get_name(dip), "ppp") == 0? DDI_IDENTIFIED: DDI_NOT_IDENTIFIED; +#else + return 0; +#endif } static int