Re: [Etherboot-developers] Prism2 driver update?
Brought to you by:
marty_connor,
stefanhajnoczi
From: Michael B. <mb...@fe...> - 2002-09-19 07:41:04
|
On Wed, 18 Sep 2002, Boris wrote: > What was the prism2 driver derrived from? The linux kernel? If so, > what version was it extracted from? I read that the linux driver has > been updated because it had some allocation problems. Make we should > take the latest linux driver and get that one working in etherboot. > Just in case the older driver had problems [which even I had with > larger then 20mb images]. It was taken from 2.4.18-6mdk (Mandrake 8.2 release), which I think corresponds to linux-wlan-ng-0.1.13. If you can point me towards the relevant changelog message and patches for the Linux kernel, I'll try to map them into the Etherboot driver. The Etherboot Prism2 driver comprises three header files (hfa384x.h, p80211hdr.h and wlan_compat.h), one main C file (prism2.c) and two wrapper C files (prism2_pci.c and prism2_plx.c). The header files were lifted straight from the Linux kernel source without modifications, in order to make it easier to upgrade them, so that's a simple job. In prism2.c, there are very few nontrivial routines: hfa384x_docmd_wait hfa384x_prepare_bap hfa384x_copy_from_bap hfa384x_copy_to_bap hfa384x_cmd_access hfa384x_drvr_getconfig hfa384x_drvr_setconfig hfa384x_wait_for_event prism2_poll prism2_transmit most of which have direct equivalents in the Linux kernel source, so it should be fairly straightforward to see which changes should be applied to which routines. Michael Brown http://www.fensystems.co.uk |