Date: Sat, 18 Sep 1999 16:49:30 +0100 (BST) From: Duncan Barclay <dmlb@ragnet.demon.co.uk> To: freebsd-mobile@freebsd.org, freebsd-xircom@lovett.com Subject: Patch for RealPort re-insertion Message-ID: <XFMail.990918164930.dmlb@computer.my.domain>
next in thread | raw e-mail | index | archive | help
Hi I managed to get my RealPort (Ethernet) to work over re-insertions! The patch below just calls the RealPort hack from xe_card_init if the card has already been initialised. The patch is against 1.20 downloaded from Scott's site. --- if_xe.c~ Sun Jun 13 20:17:41 1999 +++ if_xe.c Sat Sep 18 16:39:45 1999 @@ -505,6 +505,13 @@ /* Re-attach an existing device */ if (scp->gone) { scp->gone = 0; + + /* Hack RealPorts into submission */ + if (scp->dingo && xe_cem56fix(scp) < 0) { + printf( "xe%d: Unable to fix your RealPort\n", unit ); + return ENODEV; + } + return 0; } Duncan PS. I really like this mobile computing lark. I debugged this waiting for my wife to finish wanderering around a garden centre. I tend to invoke fatal DNA crashes in plants whenever I try to get them to work... --- ________________________________________________________________________ Duncan Barclay | God smiles upon the little children, dmlb@ragnet.demon.co.uk | the alcoholics, and the permanently stoned. ________________________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990918164930.dmlb>