]> git.ozlabs.org Git - ppp.git/blobdiff - solaris/ppp_mod.c
Update README and patchlevel for 2.4.6 release
[ppp.git] / solaris / ppp_mod.c
index 8419b3747bd2a0c316309ce5590fdf487072700c..4f4fd44668b0801440d6617b6e8f574ddd14cdc7 100644 (file)
@@ -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.6 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