Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Issue 2279001: Check the two files to ensure the present of Ethernet device and fix bug (Closed)

Created:
10 years, 7 months ago by Tom Wai-Hong Tam
Modified:
9 years, 5 months ago
CC:
chromium-os-reviews_chromium.org, sosa+cc_chromium.org, seano, ericli, petkov+cc_chromium.org
Base URL:
ssh://git@chromiumos-git/autotest.git
Visibility:
Public.

Description

For USB ethernet device, it failed by directory existed but the two files (device and vendor) not exited. So now check the two files to ensure the present of Ethernet device. Also fix a bug that not output of lspci/lsusb was considered as device exists. BUG=3578

Patch Set 1 #

Patch Set 2 : simply return _not_present if without the 2 files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -8 lines) Patch
M client/site_tests/hardware_Components/hardware_Components.py View 1 2 chunks +13 lines, -8 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Tom Wai-Hong Tam
10 years, 7 months ago (2010-05-26 10:34:58 UTC) #1
petkov
This CL seems like an overkill. I believe the goal is not to qualify a ...
10 years, 7 months ago (2010-05-26 17:48:33 UTC) #2
Nick Sanders
It may be the case that we'll see non-pcie network cards on other devices, such ...
10 years, 7 months ago (2010-05-26 21:20:38 UTC) #3
Tom Wai-Hong Tam
I agreed that the current approved Ethernet devices only use PCI interface, so it is ...
10 years, 7 months ago (2010-05-27 03:33:10 UTC) #4
Tom Wai-Hong Tam
10 years, 7 months ago (2010-05-27 04:01:46 UTC) #5
Nick Sanders
sgtm On Wed, May 26, 2010 at 8:33 PM, <waihong@chromium.org> wrote: > I agreed that ...
10 years, 7 months ago (2010-05-27 04:02:15 UTC) #6
petkov
10 years, 7 months ago (2010-05-27 04:28:28 UTC) #7
LGTM too
Let's cross the other bridge when we get there...

Powered by Google App Engine
This is Rietveld 408576698