Re: Unidentified Intel wifi network card

2007-02-01 Thread John W. Linville
On Thu, Feb 01, 2007 at 11:00:08AM -0500, [EMAIL PROTECTED] wrote:
> On Thu, 01 Feb 2007 08:59:47 +1100, Herbert Xu said:

> > If this driver is still using the old digest interface, it needs to be
> > converted to use crypto_hash_*.
> 
> OK, here's the more complete scoop - the *out of tree* ieee80211 tree
> hasn't been converted, but the *in tree* version has.
> 
> Why did I have the out of tree version installed? Because the in-tree
> version claimed to be 1.1.3, and the out-of-tree 1.2.16.  Apparently,
> the update to the version string for the in-kernel version got blocked
> someplace - the in-tree is apparently actually very close to 1.2.16.

I don't recall seeing such a patch, fwiw.  The only patch I recall
refusing from that team is the one that marks ipw2100 as broken
on big-endian.

If I missed those patches, please re-send them.

Thanks,

John
-- 
John W. Linville
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Unidentified Intel wifi network card

2007-02-01 Thread Valdis . Kletnieks
On Thu, 01 Feb 2007 08:59:47 +1100, Herbert Xu said:
> On Wed, Jan 31, 2007 at 03:54:55PM -0500, [EMAIL PROTECTED] wrote:
> > 
> > Oh - the git-crypto-fix patch has to be applied with -R, I never got around
 to
> > re-diffing it the other way.
> 
> If this driver is still using the old digest interface, it needs to be
> converted to use crypto_hash_*.

OK, here's the more complete scoop - the *out of tree* ieee80211 tree
hasn't been converted, but the *in tree* version has.

Why did I have the out of tree version installed? Because the in-tree
version claimed to be 1.1.3, and the out-of-tree 1.2.16.  Apparently,
the update to the version string for the in-kernel version got blocked
someplace - the in-tree is apparently actually very close to 1.2.16.


pgpQamLbZrrO9.pgp
Description: PGP signature


Re: Unidentified Intel wifi network card

2007-02-01 Thread Valdis . Kletnieks
On Thu, 01 Feb 2007 08:59:47 +1100, Herbert Xu said:
 On Wed, Jan 31, 2007 at 03:54:55PM -0500, [EMAIL PROTECTED] wrote:
  
  Oh - the git-crypto-fix patch has to be applied with -R, I never got around
 to
  re-diffing it the other way.
 
 If this driver is still using the old digest interface, it needs to be
 converted to use crypto_hash_*.

OK, here's the more complete scoop - the *out of tree* ieee80211 tree
hasn't been converted, but the *in tree* version has.

Why did I have the out of tree version installed? Because the in-tree
version claimed to be 1.1.3, and the out-of-tree 1.2.16.  Apparently,
the update to the version string for the in-kernel version got blocked
someplace - the in-tree is apparently actually very close to 1.2.16.


pgpQamLbZrrO9.pgp
Description: PGP signature


Re: Unidentified Intel wifi network card

2007-02-01 Thread John W. Linville
On Thu, Feb 01, 2007 at 11:00:08AM -0500, [EMAIL PROTECTED] wrote:
 On Thu, 01 Feb 2007 08:59:47 +1100, Herbert Xu said:

  If this driver is still using the old digest interface, it needs to be
  converted to use crypto_hash_*.
 
 OK, here's the more complete scoop - the *out of tree* ieee80211 tree
 hasn't been converted, but the *in tree* version has.
 
 Why did I have the out of tree version installed? Because the in-tree
 version claimed to be 1.1.3, and the out-of-tree 1.2.16.  Apparently,
 the update to the version string for the in-kernel version got blocked
 someplace - the in-tree is apparently actually very close to 1.2.16.

I don't recall seeing such a patch, fwiw.  The only patch I recall
refusing from that team is the one that marks ipw2100 as broken
on big-endian.

If I missed those patches, please re-send them.

Thanks,

John
-- 
John W. Linville
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Unidentified Intel wifi network card

2007-01-31 Thread Ross Vandegrift
On Wed, Jan 31, 2007 at 03:54:55PM -0500, [EMAIL PROTECTED] wrote:
> Only gotcha I know of:  Sometimes one of the ipw3945d kernel threads will
> hang in a loop if the RFKill switch is set to "kill" when the system comes
> up.  I also don't know how it handles suspend, I don't use that on my D820.

I have a D820 and I had a horrible time with the wireless for a long
time.  Every five minutes or so, the card would flip out and burn 100%
CPU making the box unusable for 15-45 seconds.

The most recent version of the firmware fixed this issue and now
things are much better.

-- 
Ross Vandegrift
[EMAIL PROTECTED]

"The good Christian should beware of mathematicians, and all those who
make empty prophecies. The danger already exists that the mathematicians
have made a covenant with the devil to darken the spirit and to confine
man in the bonds of Hell."
--St. Augustine, De Genesi ad Litteram, Book II, xviii, 37
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Unidentified Intel wifi network card

2007-01-31 Thread Herbert Xu
On Wed, Jan 31, 2007 at 03:54:55PM -0500, [EMAIL PROTECTED] wrote:
> 
> Oh - the git-crypto-fix patch has to be applied with -R, I never got around to
> re-diffing it the other way.

If this driver is still using the old digest interface, it needs to be
converted to use crypto_hash_*.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Unidentified Intel wifi network card

2007-01-31 Thread Kristen Accardi

On 1/31/07, Scott Lockwood <[EMAIL PROTECTED]> wrote:

I'm looking for assistance with a wifi device I can't find a driver for,
the Intel Wireless 3945.

I"m getting this:

:0c:00.0 Network controller: Intel Corporation: Unknown device 4222
(rev 02)

on a new Dell Latitude D820. Anyone know if there will be an open source
driver for this any time soon, or if there is one now?

I'm using the latest vendor supplied kernel, so my apologies if this has
already been done and I'm late to the party. I wasn't able to find much,
other than 'use the NDIS wrapper' which I really don't want to do.

Thanks for any assistance, at all,
Scott

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



If you want to play with the experimental version with no binary
regulatory daemon,
try here:
http://bughost.org/iwlwifi/

Otherwise, go here:
http://ipw3945.sf.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Unidentified Intel wifi network card

2007-01-31 Thread Valdis . Kletnieks
(Adding Adrian Bunk and Herbert Xu to the cc: list)

On Wed, 31 Jan 2007 11:30:23 CST, Scott Lockwood said:
> I'm looking for assistance with a wifi device I can't find a driver for,
> the Intel Wireless 3945.
> 
> I"m getting this:
> 
> :0c:00.0 Network controller: Intel Corporation: Unknown device 4222
> (rev 02)
> 
> on a new Dell Latitude D820. Anyone know if there will be an open source
> driver for this any time soon, or if there is one now?

http://ipw3945.sourceforge.net has almost everything you could possibly need.

Only gotcha I know of:  Sometimes one of the ipw3945d kernel threads will
hang in a loop if the RFKill switch is set to "kill" when the system comes
up.  I also don't know how it handles suspend, I don't use that on my D820.

I also needed to make 2 patches (attached) to make it work under recent -mm 
kernels,
with them I'm able to use it on 20-rc6-mm3.

Oh - the git-crypto-fix patch has to be applied with -R, I never got around to
re-diffing it the other way.

(Yes, I really should fix up these 2 and push them upstream to the ipw3945 crew.
That's on this week's to-do list...)
--- linux-2.6.20-rc6-mm1/drivers/net/wireless/ipw3945.c.dist2007-01-27 
20:21:42.0 -0500
+++ linux-2.6.20-rc6-mm1/drivers/net/wireless/ipw3945.c 2007-01-27 
20:22:21.0 -0500
@@ -16554,7 +16554,7 @@ static int ipw_pci_probe(struct pci_dev 
/* If power management is turned on, default to AC mode */
priv->power_mode = IPW_POWER_AC;
priv->actual_txpower_limit = IPW_DEFAULT_TX_POWER;
-   err = request_irq(pdev->irq, ipw_isr, SA_SHIRQ, DRV_NAME, priv);
+   err = request_irq(pdev->irq, ipw_isr, IRQF_SHARED, DRV_NAME, priv);
if (err) {
IPW_ERROR("Error allocating IRQ %d\n", pdev->irq);
goto out_release_ucode;
GIT 13c49e85b6c43df0285e2cef1f56f8706ede git+ssh://master.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git

commit 
Author: Adrian Bunk 
Date:   Wed Nov 22 17:55:00 2006 +1100

[CRYPTO] api: Remove unused functions

This patch removes the following no longer used functions:
- api.c: crypto_alg_available()
- digest.c: crypto_digest_init()
- digest.c: crypto_digest_update()
- digest.c: crypto_digest_final()
- digest.c: crypto_digest_digest()

Signed-off-by: Adrian Bunk 
Signed-off-by: Herbert Xu 

diff --git a/crypto/digest.c b/crypto/digest.c
index 0155a94..8f45932 100644
--- a/crypto/digest.c
+++ b/crypto/digest.c
@@ -21,54 +21,6 @@ #include 
 #include "internal.h"
 #include "scatterwalk.h"
 
-void crypto_digest_init(struct crypto_tfm *tfm)
-{
-	struct crypto_hash *hash = crypto_hash_cast(tfm);
-	struct hash_desc desc = { .tfm = hash, .flags = tfm->crt_flags };
-
-	crypto_hash_init();
-}
-EXPORT_SYMBOL_GPL(crypto_digest_init);
-
-void crypto_digest_update(struct crypto_tfm *tfm,
-			  struct scatterlist *sg, unsigned int nsg)
-{
-	struct crypto_hash *hash = crypto_hash_cast(tfm);
-	struct hash_desc desc = { .tfm = hash, .flags = tfm->crt_flags };
-	unsigned int nbytes = 0;
-	unsigned int i;
-
-	for (i = 0; i < nsg; i++)
-		nbytes += sg[i].length;
-
-	crypto_hash_update(, sg, nbytes);
-}
-EXPORT_SYMBOL_GPL(crypto_digest_update);
-
-void crypto_digest_final(struct crypto_tfm *tfm, u8 *out)
-{
-	struct crypto_hash *hash = crypto_hash_cast(tfm);
-	struct hash_desc desc = { .tfm = hash, .flags = tfm->crt_flags };
-
-	crypto_hash_final(, out);
-}
-EXPORT_SYMBOL_GPL(crypto_digest_final);
-
-void crypto_digest_digest(struct crypto_tfm *tfm,
-			  struct scatterlist *sg, unsigned int nsg, u8 *out)
-{
-	struct crypto_hash *hash = crypto_hash_cast(tfm);
-	struct hash_desc desc = { .tfm = hash, .flags = tfm->crt_flags };
-	unsigned int nbytes = 0;
-	unsigned int i;
-
-	for (i = 0; i < nsg; i++)
-		nbytes += sg[i].length;
-
-	crypto_hash_digest(, sg, nbytes, out);
-}
-EXPORT_SYMBOL_GPL(crypto_digest_digest);
-
 static int init(struct hash_desc *desc)
 {
 	struct crypto_tfm *tfm = crypto_hash_tfm(desc->tfm);
diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index 6485e97..4aa9046 100644
--- a/include/linux/crypto.h
+++ b/include/linux/crypto.h
@@ -218,10 +218,8 @@ int crypto_unregister_alg(struct crypto_
  * Algorithm query interface.
  */
 #ifdef CONFIG_CRYPTO
-int crypto_alg_available(const char *name, u32 flags) __deprecated_for_modules;
 int crypto_has_alg(const char *name, u32 type, u32 mask);
 #else
-static int crypto_alg_available(const char *name, u32 flags) __deprecated_for_modules;
 static inline int crypto_has_alg(const char *name, u32 type, u32 mask)
 {
 	return 0;
@@ -707,16 +703,6 @@ static inline void crypto_cipher_decrypt
 		dst, src);
 }
 
-void crypto_digest_init(struct crypto_tfm *tfm) __deprecated_for_modules;
-void crypto_digest_update(struct crypto_tfm *tfm,
-			  struct scatterlist *sg, unsigned int nsg)
-	__deprecated_for_modules;
-void crypto_digest_final(struct crypto_tfm *tfm, u8 *out)
-	__deprecated_for_modules;
-void 

Re: Unidentified Intel wifi network card

2007-01-31 Thread Auke Kok

Scott Lockwood wrote:

I'm looking for assistance with a wifi device I can't find a driver for,
the Intel Wireless 3945.

I"m getting this:

:0c:00.0 Network controller: Intel Corporation: Unknown device 4222
(rev 02)

on a new Dell Latitude D820. Anyone know if there will be an open source
driver for this any time soon, or if there is one now?

I'm using the latest vendor supplied kernel, so my apologies if this has
already been done and I'm late to the party. I wasn't able to find much,
other than 'use the NDIS wrapper' which I really don't want to do.


http://ipw3945.sourceforge.net/

Cheers,

Auke




PS google for '3945 driver linux' also showed this as #1 hit:
http://www.google.com/search?q=3945+driver+linux
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Unidentified Intel wifi network card

2007-01-31 Thread David Hollis
On Wed, 2007-01-31 at 11:30 -0600, Scott Lockwood wrote:
> I'm looking for assistance with a wifi device I can't find a driver for,
> the Intel Wireless 3945.
> 
> I"m getting this:
> 
> :0c:00.0 Network controller: Intel Corporation: Unknown device 4222
> (rev 02)
> 
> on a new Dell Latitude D820. Anyone know if there will be an open source
> driver for this any time soon, or if there is one now?
> 
> I'm using the latest vendor supplied kernel, so my apologies if this has
> already been done and I'm late to the party. I wasn't able to find much,
> other than 'use the NDIS wrapper' which I really don't want to do.

http://ipw3945.sf.net
http://ieee80211.sf.net

-- 
David Hollis <[EMAIL PROTECTED]>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Unidentified Intel wifi network card

2007-01-31 Thread Alan Cox
On Wed, Jan 31, 2007 at 11:30:23AM -0600, Scott Lockwood wrote:
> on a new Dell Latitude D820. Anyone know if there will be an open source
> driver for this any time soon, or if there is one now?

Intel have a mix of open source kernel module and binary daemon for 
some bits. Hopefully we'll get a properly open one soon, until then the
bits you need should be on intel.com somewhere 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Unidentified Intel wifi network card

2007-01-31 Thread Scott Lockwood
I'm looking for assistance with a wifi device I can't find a driver for,
the Intel Wireless 3945.

I"m getting this:

:0c:00.0 Network controller: Intel Corporation: Unknown device 4222
(rev 02)

on a new Dell Latitude D820. Anyone know if there will be an open source
driver for this any time soon, or if there is one now?

I'm using the latest vendor supplied kernel, so my apologies if this has
already been done and I'm late to the party. I wasn't able to find much,
other than 'use the NDIS wrapper' which I really don't want to do.

Thanks for any assistance, at all,
Scott

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Unidentified Intel wifi network card

2007-01-31 Thread Scott Lockwood
I'm looking for assistance with a wifi device I can't find a driver for,
the Intel Wireless 3945.

Im getting this:

:0c:00.0 Network controller: Intel Corporation: Unknown device 4222
(rev 02)

on a new Dell Latitude D820. Anyone know if there will be an open source
driver for this any time soon, or if there is one now?

I'm using the latest vendor supplied kernel, so my apologies if this has
already been done and I'm late to the party. I wasn't able to find much,
other than 'use the NDIS wrapper' which I really don't want to do.

Thanks for any assistance, at all,
Scott

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Unidentified Intel wifi network card

2007-01-31 Thread Alan Cox
On Wed, Jan 31, 2007 at 11:30:23AM -0600, Scott Lockwood wrote:
 on a new Dell Latitude D820. Anyone know if there will be an open source
 driver for this any time soon, or if there is one now?

Intel have a mix of open source kernel module and binary daemon for 
some bits. Hopefully we'll get a properly open one soon, until then the
bits you need should be on intel.com somewhere 
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Unidentified Intel wifi network card

2007-01-31 Thread David Hollis
On Wed, 2007-01-31 at 11:30 -0600, Scott Lockwood wrote:
 I'm looking for assistance with a wifi device I can't find a driver for,
 the Intel Wireless 3945.
 
 Im getting this:
 
 :0c:00.0 Network controller: Intel Corporation: Unknown device 4222
 (rev 02)
 
 on a new Dell Latitude D820. Anyone know if there will be an open source
 driver for this any time soon, or if there is one now?
 
 I'm using the latest vendor supplied kernel, so my apologies if this has
 already been done and I'm late to the party. I wasn't able to find much,
 other than 'use the NDIS wrapper' which I really don't want to do.

http://ipw3945.sf.net
http://ieee80211.sf.net

-- 
David Hollis [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Unidentified Intel wifi network card

2007-01-31 Thread Auke Kok

Scott Lockwood wrote:

I'm looking for assistance with a wifi device I can't find a driver for,
the Intel Wireless 3945.

Im getting this:

:0c:00.0 Network controller: Intel Corporation: Unknown device 4222
(rev 02)

on a new Dell Latitude D820. Anyone know if there will be an open source
driver for this any time soon, or if there is one now?

I'm using the latest vendor supplied kernel, so my apologies if this has
already been done and I'm late to the party. I wasn't able to find much,
other than 'use the NDIS wrapper' which I really don't want to do.


http://ipw3945.sourceforge.net/

Cheers,

Auke




PS google for '3945 driver linux' also showed this as #1 hit:
http://www.google.com/search?q=3945+driver+linux
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Unidentified Intel wifi network card

2007-01-31 Thread Valdis . Kletnieks
(Adding Adrian Bunk and Herbert Xu to the cc: list)

On Wed, 31 Jan 2007 11:30:23 CST, Scott Lockwood said:
 I'm looking for assistance with a wifi device I can't find a driver for,
 the Intel Wireless 3945.
 
 Im getting this:
 
 :0c:00.0 Network controller: Intel Corporation: Unknown device 4222
 (rev 02)
 
 on a new Dell Latitude D820. Anyone know if there will be an open source
 driver for this any time soon, or if there is one now?

http://ipw3945.sourceforge.net has almost everything you could possibly need.

Only gotcha I know of:  Sometimes one of the ipw3945d kernel threads will
hang in a loop if the RFKill switch is set to kill when the system comes
up.  I also don't know how it handles suspend, I don't use that on my D820.

I also needed to make 2 patches (attached) to make it work under recent -mm 
kernels,
with them I'm able to use it on 20-rc6-mm3.

Oh - the git-crypto-fix patch has to be applied with -R, I never got around to
re-diffing it the other way.

(Yes, I really should fix up these 2 and push them upstream to the ipw3945 crew.
That's on this week's to-do list...)
--- linux-2.6.20-rc6-mm1/drivers/net/wireless/ipw3945.c.dist2007-01-27 
20:21:42.0 -0500
+++ linux-2.6.20-rc6-mm1/drivers/net/wireless/ipw3945.c 2007-01-27 
20:22:21.0 -0500
@@ -16554,7 +16554,7 @@ static int ipw_pci_probe(struct pci_dev 
/* If power management is turned on, default to AC mode */
priv-power_mode = IPW_POWER_AC;
priv-actual_txpower_limit = IPW_DEFAULT_TX_POWER;
-   err = request_irq(pdev-irq, ipw_isr, SA_SHIRQ, DRV_NAME, priv);
+   err = request_irq(pdev-irq, ipw_isr, IRQF_SHARED, DRV_NAME, priv);
if (err) {
IPW_ERROR(Error allocating IRQ %d\n, pdev-irq);
goto out_release_ucode;
GIT 13c49e85b6c43df0285e2cef1f56f8706ede git+ssh://master.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git

commit 
Author: Adrian Bunk bunk@stusta.de
Date:   Wed Nov 22 17:55:00 2006 +1100

[CRYPTO] api: Remove unused functions

This patch removes the following no longer used functions:
- api.c: crypto_alg_available()
- digest.c: crypto_digest_init()
- digest.c: crypto_digest_update()
- digest.c: crypto_digest_final()
- digest.c: crypto_digest_digest()

Signed-off-by: Adrian Bunk bunk@stusta.de
Signed-off-by: Herbert Xu herbert@gondor.apana.org.au

diff --git a/crypto/digest.c b/crypto/digest.c
index 0155a94..8f45932 100644
--- a/crypto/digest.c
+++ b/crypto/digest.c
@@ -21,54 +21,6 @@ #include linux/scatterlist.h
 #include internal.h
 #include scatterwalk.h
 
-void crypto_digest_init(struct crypto_tfm *tfm)
-{
-	struct crypto_hash *hash = crypto_hash_cast(tfm);
-	struct hash_desc desc = { .tfm = hash, .flags = tfm-crt_flags };
-
-	crypto_hash_init(desc);
-}
-EXPORT_SYMBOL_GPL(crypto_digest_init);
-
-void crypto_digest_update(struct crypto_tfm *tfm,
-			  struct scatterlist *sg, unsigned int nsg)
-{
-	struct crypto_hash *hash = crypto_hash_cast(tfm);
-	struct hash_desc desc = { .tfm = hash, .flags = tfm-crt_flags };
-	unsigned int nbytes = 0;
-	unsigned int i;
-
-	for (i = 0; i  nsg; i++)
-		nbytes += sg[i].length;
-
-	crypto_hash_update(desc, sg, nbytes);
-}
-EXPORT_SYMBOL_GPL(crypto_digest_update);
-
-void crypto_digest_final(struct crypto_tfm *tfm, u8 *out)
-{
-	struct crypto_hash *hash = crypto_hash_cast(tfm);
-	struct hash_desc desc = { .tfm = hash, .flags = tfm-crt_flags };
-
-	crypto_hash_final(desc, out);
-}
-EXPORT_SYMBOL_GPL(crypto_digest_final);
-
-void crypto_digest_digest(struct crypto_tfm *tfm,
-			  struct scatterlist *sg, unsigned int nsg, u8 *out)
-{
-	struct crypto_hash *hash = crypto_hash_cast(tfm);
-	struct hash_desc desc = { .tfm = hash, .flags = tfm-crt_flags };
-	unsigned int nbytes = 0;
-	unsigned int i;
-
-	for (i = 0; i  nsg; i++)
-		nbytes += sg[i].length;
-
-	crypto_hash_digest(desc, sg, nbytes, out);
-}
-EXPORT_SYMBOL_GPL(crypto_digest_digest);
-
 static int init(struct hash_desc *desc)
 {
 	struct crypto_tfm *tfm = crypto_hash_tfm(desc-tfm);
diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index 6485e97..4aa9046 100644
--- a/include/linux/crypto.h
+++ b/include/linux/crypto.h
@@ -218,10 +218,8 @@ int crypto_unregister_alg(struct crypto_
  * Algorithm query interface.
  */
 #ifdef CONFIG_CRYPTO
-int crypto_alg_available(const char *name, u32 flags) __deprecated_for_modules;
 int crypto_has_alg(const char *name, u32 type, u32 mask);
 #else
-static int crypto_alg_available(const char *name, u32 flags) __deprecated_for_modules;
 static inline int crypto_has_alg(const char *name, u32 type, u32 mask)
 {
 	return 0;
@@ -707,16 +703,6 @@ static inline void crypto_cipher_decrypt
 		dst, src);
 }
 
-void crypto_digest_init(struct crypto_tfm *tfm) __deprecated_for_modules;
-void crypto_digest_update(struct crypto_tfm *tfm,
-			  struct scatterlist *sg, unsigned int nsg)
-	__deprecated_for_modules;
-void crypto_digest_final(struct crypto_tfm 

Re: Unidentified Intel wifi network card

2007-01-31 Thread Kristen Accardi

On 1/31/07, Scott Lockwood [EMAIL PROTECTED] wrote:

I'm looking for assistance with a wifi device I can't find a driver for,
the Intel Wireless 3945.

Im getting this:

:0c:00.0 Network controller: Intel Corporation: Unknown device 4222
(rev 02)

on a new Dell Latitude D820. Anyone know if there will be an open source
driver for this any time soon, or if there is one now?

I'm using the latest vendor supplied kernel, so my apologies if this has
already been done and I'm late to the party. I wasn't able to find much,
other than 'use the NDIS wrapper' which I really don't want to do.

Thanks for any assistance, at all,
Scott

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



If you want to play with the experimental version with no binary
regulatory daemon,
try here:
http://bughost.org/iwlwifi/

Otherwise, go here:
http://ipw3945.sf.net
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Unidentified Intel wifi network card

2007-01-31 Thread Herbert Xu
On Wed, Jan 31, 2007 at 03:54:55PM -0500, [EMAIL PROTECTED] wrote:
 
 Oh - the git-crypto-fix patch has to be applied with -R, I never got around to
 re-diffing it the other way.

If this driver is still using the old digest interface, it needs to be
converted to use crypto_hash_*.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Unidentified Intel wifi network card

2007-01-31 Thread Ross Vandegrift
On Wed, Jan 31, 2007 at 03:54:55PM -0500, [EMAIL PROTECTED] wrote:
 Only gotcha I know of:  Sometimes one of the ipw3945d kernel threads will
 hang in a loop if the RFKill switch is set to kill when the system comes
 up.  I also don't know how it handles suspend, I don't use that on my D820.

I have a D820 and I had a horrible time with the wireless for a long
time.  Every five minutes or so, the card would flip out and burn 100%
CPU making the box unusable for 15-45 seconds.

The most recent version of the firmware fixed this issue and now
things are much better.

-- 
Ross Vandegrift
[EMAIL PROTECTED]

The good Christian should beware of mathematicians, and all those who
make empty prophecies. The danger already exists that the mathematicians
have made a covenant with the devil to darken the spirit and to confine
man in the bonds of Hell.
--St. Augustine, De Genesi ad Litteram, Book II, xviii, 37
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/