Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update worker-configuration-reference.md #1076

Merged
merged 3 commits into from
Mar 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/reference/worker-configuration-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,15 +355,15 @@ sources:
hooksEnabled: true # true by default
```

### soures.pci
### sources.pci

#### soures.pci.deviceClassWhitelist
#### sources.pci.deviceClassWhitelist

List of PCI [device class](https://pci-ids.ucw.cz/read/PD) IDs for which to
publish a label. Can be specified as a main class only (e.g. `03`) or full
class-subclass combination (e.g. `0300`) - the former implies that all
subclasses are accepted. The format of the labels can be further configured
with [deviceLabelFields](#soures.pci.deviceLabelFields).
with [deviceLabelFields](#sources.pci.deviceLabelFields).

Default: `["03", "0b40", "12"]`

Expand All @@ -375,7 +375,7 @@ sources:
deviceClassWhitelist: ["0200", "03"]
```

#### soures.pci.deviceLabelFields
#### sources.pci.deviceLabelFields

The set of PCI ID fields to use when constructing the name of the feature
label. Valid fields are `class`, `vendor`, `device`, `subsystem_vendor` and
Expand All @@ -396,11 +396,11 @@ With the example config above NFD would publish labels like:

### sources.usb

#### soures.usb.deviceClassWhitelist
#### sources.usb.deviceClassWhitelist

List of USB [device class](https://www.usb.org/defined-class-codes) IDs for
which to publish a feature label. The format of the labels can be further
configured with [deviceLabelFields](#soures.usb.deviceLabelFields).
configured with [deviceLabelFields](#sources.usb.deviceLabelFields).

Default: `["0e", "ef", "fe", "ff"]`

Expand All @@ -412,7 +412,7 @@ sources:
deviceClassWhitelist: ["ef", "ff"]
```

#### soures.usb.deviceLabelFields
#### sources.usb.deviceLabelFields

The set of USB ID fields from which to compose the name of the feature label.
Valid fields are `class`, `vendor`, `device` and `serial`.
Expand Down