cvs commit: src/sys/dev/lnc if_lnc_pci.c

Maxime Henrion mux at FreeBSD.org
Sun Aug 22 16:01:14 PDT 2004


mux         2004-08-22 23:01:13 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/lnc          if_lnc_pci.c 
  Log:
  Pass a correct lowaddr to bus_dma_tag_create(), lnc(4) cards can only
  deal with 24-bit addresses.  While the two other attachments, namely
  isa and cbus, do it properly, the PCI attachment was passing
  BUS_SPACE_MAXADDR instead of BUS_SPACE_MAXADDR_24BIT.  This bug
  became apparent with the new contigmalloc() code.
  
  This fixes the problem reported with lnc(4) interfaces inside VMWare,
  and should theoritically also fix any user of a PCI lnc(4) card.  It
  is a RELENG_5 MFC candidate.
  
  Tested by:      Florian Le Goff <madflo at beertech.org>
  
  Revision  Changes    Path
  1.35      +1 -1      src/sys/dev/lnc/if_lnc_pci.c


More information about the cvs-src mailing list