login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
3
Re: [RFC: 2.6 patch] #if 0 e1000e_read_nvm_spi()
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Kok, Auke <auke-jan.h.kok@...>
To: Adrian Bunk <bunk@...>
Cc: Jeff Kirsher <jeffrey.t.kirsher@...>, Jeff Garzik <jeff@...>, <jesse.brandeburg@...>, <john.ronciak@...>, <e1000-devel@...>, <linux-kernel@...>, <netdev@...>
Subject:
Re: [RFC: 2.6 patch] #if 0 e1000e_read_nvm_spi()
Date: Monday, March 3, 2008 - 1:24 pm
Adrian Bunk wrote:
quoted text
> This patch #if 0's the no longer used e1000e_read_nvm_spi().
OK, thanks Adrian I'll send a patch to remove the function alltogether. Auke
quoted text
> > Signed-off-by: Adrian Bunk <bunk@kernel.org> > > --- > > drivers/net/e1000e/e1000.h | 1 - > drivers/net/e1000e/lib.c | 2 ++ > 2 files changed, 2 insertions(+), 1 deletion(-) > > 9bab4dc421a7e5a947739e2fa1363b4efffbcbe2 foobar > diff --git a/drivers/net/e1000e/e1000.h b/drivers/net/e1000e/e1000.h > index 327c062..6e0c6ed 100644 > --- a/drivers/net/e1000e/e1000.h > +++ b/drivers/net/e1000e/e1000.h > @@ -462,7 +462,6 @@ extern s32 e1000e_acquire_nvm(struct e1000_hw *hw); > extern s32 e1000e_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); > extern s32 e1000e_update_nvm_checksum_generic(struct e1000_hw *hw); > extern s32 e1000e_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg); > -extern s32 e1000e_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); > extern s32 e1000e_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); > extern s32 e1000e_validate_nvm_checksum_generic(struct e1000_hw *hw); > extern void e1000e_release_nvm(struct e1000_hw *hw); > diff --git a/drivers/net/e1000e/lib.c b/drivers/net/e1000e/lib.c > index 95f75a4..cb2dac8 100644 > --- a/drivers/net/e1000e/lib.c > +++ b/drivers/net/e1000e/lib.c > @@ -1851,6 +1851,7 @@ static s32 e1000_ready_nvm_eeprom(struct e1000_hw *hw) > return 0; > } > > +#if 0 > /** > * e1000e_read_nvm_spi - Reads EEPROM using SPI > * @hw: pointer to the HW structure > @@ -1906,6 +1907,7 @@ s32 e1000e_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) > nvm->ops.release_nvm(hw); > return 0; > } > +#endif /* 0 */ > > /** > * e1000e_read_nvm_eerd - Reads EEPROM using EERD register >
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[RFC: 2.6 patch] #if 0 e1000e_read_nvm_spi()
, Adrian Bunk
, (Sat Mar 1, 12:23 pm)
Re: [RFC: 2.6 patch] #if 0 e1000e_read_nvm_spi()
, Kok, Auke
, (Mon Mar 3, 1:24 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
James Bottomley
Re: Integration of SCST in the mainstream Linux kernel
Stephen Rothwell
Re: Announce: Linux-next (Or Andrew's dream :-))
Arjan van de Ven
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interfaceforon access scanning
linux-netdev
:
Patrick McHardy
Re: [GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Eric W. Biederman
Re: namespace support requires network modules to say "GPL"
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
477 guests
online.
Online users
uniclear
Syndicate