Date: Wed, 22 Apr 1998 11:18:08 -0500 (CDT) From: Jim Lowe <james@miller.cs.uwm.edu> To: nash@Mcs.Net Cc: freebsd-bugs@FreeBSD.ORG, jwd@unx.sas.com Subject: Re: PCI attach of if_ed.c & if_lnc.c Message-ID: <199804221618.LAA21045@miller.cs.uwm.edu>
next in thread | raw e-mail | index | archive | help
>From: Alex Nash <nash@Mcs.Net> > >No. sizeof(sc) equates to the size of a pointer, not the size of the item >pointed to by the pointer (*sc). In other words: > > sizeof(sc) = size of the pointer, in this case 4 bytes > sizeof(*sc) = size of the softc structure (whatever that is) > Duh! Thanks, I wasn't thinking. I will keep looking. On my system, the lnc PCI driver crashes the machine and I get very poor performance. -Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804221618.LAA21045>