lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Sun, 11 Mar 2007 18:57:58 +0100 (CET)
From:	Alfred Arnold <alfred@...c.rwth-aachen.de>
To:	netdev@...r.kernel.org
Subject: Questions regarding kernel 2.6 3C59x driver on EISA systems

Hi,

I recently was able to get hold of a 3C597 card for my Jensen Alpha.
Compiling the driver for it however gives error messages about undefined
symbols:

pci_alloc_consistent
pci_free_consistent
pci_map_single
pci_map_unsingle

These functions do not exist on a pure EISA system (like the Jensen
Alpha), however the calls to these functions seem to be hardwired in the
driver, regardless of the card's interface type (PCI or EISA).  Seems to
me this driver hasn't been compiled on a pure EISA system for a while ;-)

I had some success by replacing these functions with

dma_alloc_coherent
dma_free_coherent
dma_map_single
dma_unmap_single

The driver will then load, correctly identify the card and at least send
packets (I still have trouble with interrupts, but that might be due to
the incomplete EISA setup of the Jensen).  I'm not sure however if this is
the correct change, I copied this from the AHA1742 driver.

Are the EISA 3C59x variants still supported at all?  If yes, this should
IMHO be fixed.  I can provide my patch, which is basically an #ifdef
CONFIG_PCI conditional, but this will probably not work in mixed PCI/EISA
systems.

I am using Linux kernel 2.6.20.1 .  I sent the same mail a week ago to
Andrew Morton (akpm@...l.org), which is the address mentioned in the
'vortex.txt' documentation file.  I haven't received any answers since
then, however :-(

Best regards

Alfred Arnold

-- 
Alfred Arnold                   E-Mail: alfred@...c.rwth-aachen.de
Computer Club at the            http://john.ccac.rwth-aachen.de:8000/alf/
Technical University            Phone: +49-241-406526
of Aachen                       Fax:   +49-241-406527
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists