From: chas w. - C. <ch...@cm...> - 2011-03-29 12:24:14
|
you should just merge 87650 and 87965. that way atm_dev_release_vccs() doesnt get EXPORTED yet have no users. also, make you git comments a little more compatible with the "standard" way of doing it for the kernel. something like: atm: driver: what i fixed summary explanation (if the summary isnt clear) and wrap the lines around 72 cols i guess. On Sun, 27 Mar 2011 12:36:13 -0700 Philip Prindeville <phi...@re...> wrote: > By the way, I need someone to add "Signed-off-by:" to the following patches to speed them along... > > http://patchwork.ozlabs.org/patch/87650/ > http://patchwork.ozlabs.org/patch/87676/ > http://patchwork.ozlabs.org/patch/87965/ > http://patchwork.ozlabs.org/patch/88026/ > > if anyone is interested in doing so... > > Thanks, > > -Philip > > > > On 3/22/11 11:16 PM, Philip Prindeville wrote: > > Following Chas' suggestion.... > > > > Should have Cc'd the list, sorry. > > > > > > -------- Original Message -------- > > Subject: [PATCH 1/1] solos-pci: Don't clear open VCs when we detect carrier state (or state changes) > > Date: Tue, 22 Mar 2011 23:12:56 -0700 > > From: Philip Prindeville<phi...@re...> > > To: Netdev<ne...@vg...> > > > > > > > > Initialize device state to UP, as is done for Ethernet. If firmware supports communicating carrier state to us, we'll be notified then, and we can indicate it via atm_dev_signal_change(). > > > > In any case: (1) higher level protocols will detect a dead link, and (2) loss of carrier is not a reason to tear down the VCs... this is overly zealous. > > > > Signed-off-by: Philip Prindeville<ph...@re...> > > --- > > > > drivers/atm/solos-pci.c | 3 +-- > > 1 files changed, 1 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/atm/solos-pci.c b/drivers/atm/solos-pci.c > > index 265bbdf..cd0ff66 100644 > > --- a/drivers/atm/solos-pci.c > > +++ b/drivers/atm/solos-pci.c > > @@ -383,7 +383,6 @@ static int process_status(struct solos_card *card, int port, struct sk_buff *skb > > /* Anything but 'Showtime' is down */ > > if (strcmp(state_str, "Showtime")) { > > atm_dev_signal_change(card->atmdev[port], ATM_PHY_SIG_LOST); > > - atm_dev_release_vccs(card->atmdev[port]); > > dev_info(&card->dev->dev, "Port %d: %s\n", port, state_str); > > return 0; > > } > > @@ -1246,7 +1245,7 @@ static int atm_init(struct solos_card *card, struct device *parent) > > card->atmdev[i]->ci_range.vci_bits = 16; > > card->atmdev[i]->dev_data = card; > > card->atmdev[i]->phy_data = (void *)(unsigned long)i; > > - atm_dev_signal_change(card->atmdev[i], ATM_PHY_SIG_UNKNOWN); > > + atm_dev_signal_change(card->atmdev[i], ATM_PHY_SIG_FOUND); > > > > skb = alloc_skb(sizeof(*header), GFP_ATOMIC); > > if (!skb) { > > > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Linux-atm-general mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-atm-general > |