From e9f80c0133c2259ba41884260b168adf070c3214 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sat, 25 Mar 1995 22:06:27 +0000 Subject: [PATCH] Make untested NS code at least compile so that it doesn't break LINT. A struct member had an old name. --- sys/pci/if_pdq.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/sys/pci/if_pdq.c b/sys/pci/if_pdq.c index 561bdd2832a6..a050324bc12e 100644 --- a/sys/pci/if_pdq.c +++ b/sys/pci/if_pdq.c @@ -21,9 +21,14 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_pdq.c,v 1.2 1995/03/17 04:27:17 davidg Exp $ + * $Id: if_pdq.c,v 1.3 1995/03/21 22:41:19 se Exp $ * * $Log: if_pdq.c,v $ + * Revision 1.3 1995/03/21 22:41:19 se + * Cosmetic changes. + * + * Submitted by: Wolfgang Stnglmeier + * * Revision 1.2 1995/03/17 04:27:17 davidg * Added a new field to the pci_device struct called pd_shutdown to specify * a device specific shutdown routine for devconf. Assign the value of this @@ -375,12 +380,12 @@ pdq_ifioctl( case AF_NS: { struct ns_addr *ina = &(IA_SNS(ifa)->sns_addr); if (ns_nullhost(*ina)) { - ina->x_host = *(union ns_host *)(sc->pdq_ac.ac_enaddr); + ina->x_host = *(union ns_host *)(sc->sc_ac.ac_enaddr); } else { ifp->if_flags &= ~IFF_RUNNING; bcopy((caddr_t)ina->x_host.c_host, - (caddr_t)sc->pdq_ac.ac_enaddr, - sizeof sc->pdq_ac.ac_enaddr); + (caddr_t)sc->sc_ac.ac_enaddr, + sizeof sc->sc_ac.ac_enaddr); } (*ifp->if_init)(ifp->if_unit);