diff options
author | wpaul <wpaul@FreeBSD.org> | 1998-11-18 16:46:53 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1998-11-18 16:46:53 +0000 |
commit | 3b78b902beb87eb61ef5b929879a23c20ac0a300 (patch) | |
tree | a597038539b47526271eda482644287992c7f669 | |
parent | ad2d958bb791483ae0eed3e827ca04c42bf16dcd (diff) | |
download | FreeBSD-src-3b78b902beb87eb61ef5b929879a23c20ac0a300.zip FreeBSD-src-3b78b902beb87eb61ef5b929879a23c20ac0a300.tar.gz |
Fix a minor bug in xl_attach() where the list buffer region is rounded
to a longword boundary.
Noticed by: Jason Wright <jason@thought.net>
-rw-r--r-- | sys/pci/if_xl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c index 2d32109..8fbd6df 100644 --- a/sys/pci/if_xl.c +++ b/sys/pci/if_xl.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_xl.c,v 1.58 1998/10/22 16:37:55 wpaul Exp $ + * $Id: if_xl.c,v 1.16 1998/10/22 16:46:26 wpaul Exp $ */ /* @@ -147,7 +147,7 @@ #ifndef lint static char rcsid[] = - "$Id: if_xl.c,v 1.58 1998/10/22 16:37:55 wpaul Exp $"; + "$Id: if_xl.c,v 1.16 1998/10/22 16:46:26 wpaul Exp $"; #endif /* @@ -1444,7 +1444,7 @@ xl_attach(config_id, unit) if (round % 8) { round++; roundptr++; - } + } else break; } sc->xl_ldata = (struct xl_list_data *)roundptr; |