Re: [PATCH] WAN/pc300: handle, propagate minor errors



Hi,

Jeff Garzik <jeff@xxxxxxxxxx> writes:

- move definition of 'tmc' and 'br' locals closer to usage

- handle clock_rate_calc() error

- propagate errors back to upper level open routine

drivers/net/wan/pc300_drv.c | 24 +++++++++++++++++++-----

Looks good (not sure if my ACK counts, I'm not the maintainer).


FYI: I think the pc300 driver would benefit from, I'd say, a bit
of maintenance. Cyclades don't sell PC300 anymore (at least their
WWW doesn't list them) and I don't know if they're going to touch
the driver.

I have a much simpler driver for PC300 X.21 and V.24/V.35 models
(could be included in the official kernel), but it lacks support
for T1/E1 cards.

I could look at their driver and try to incorporate T1/E1 support
into my driver, but without access to the hardware it would be
tricky at best.

Not sure what should we do. Perhaps waiting for Cyclades is the
only option.

PC300 are nice cards, it would be sad if the driver support
deteriorated.
--
Krzysztof Halasa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: patch bus_add_device-losing-an-error-return-from-the-probe-metho
    ... ALSA wants platform_device_register_simpleto return an IS_ERRon driver probe error and the submitted patch makes it do so for all the other errors but ALSA likes to propagate errors up as far as possible, and currently its probemethods can return either... ... ALSA would need to do something like, just before returning a succesfull return from the probemethod, set a global flag that the platform_device that is about to be registered is actually representing something, and freeing all platform_devices for which the flag is _not_ set again after this. ...
    (Linux-Kernel)
  • [GIT]: Networking
    ... maintainer making a lot of changes to driver FOO. ... support for networking. ... iwl3945: Fix iwl3945 rate scaling. ... Fix build warning due to typo in %pI4 format changes. ...
    (Linux-Kernel)
  • [GIT]: Networking
    ... Make VLAN and MACVLAN drivers support multiqueue, ... Return type of net driver xmit routines is formalized into ... Lots of bluetooth fixes and cleanups from Marcel Holtmann ... Fix premature termination of FIN_WAIT2, ...
    (Linux-Kernel)
  • [GIT]: Networking
    ... RFKILL rewrite from Johannes Berg. ... IPV6 stateless autoconfig support for ISATAP, ... fix led bug when SW rfkill ... Add watchdog functionality to hfcmulti driver ...
    (Linux-Kernel)
  • Re: CD/DVD drive errors and lost ticks
    ... Try and pass ide=noprobe option to the kernel boot command line and see if that makes a difference first - may be that will allow the SATA/PATA drivers to claim the CDROM before IDE sees it. ... # ACPI Support ... # PCI Hotplug Support ... # Generic Driver Options ...
    (Linux-Kernel)