Skip to content

Commit e4fe204

Browse files
CopilotJohnAmadis
andcommitted
Fix driver naming consistency in examples to use dm prefix
Co-authored-by: JohnAmadis <17320783+JohnAmadis@users.noreply.github.com>
1 parent c622b0c commit e4fe204

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,10 @@ Each `.ini` file in the `dmspiflash/` directory will use `dmspiflash` as the def
266266

267267
```
268268
/etc/dmdevfs/
269-
├── flash.ini # Uses filename: "flash" driver
270-
├── spi/
271-
│ ├── device0.ini # Uses directory: "spi" driver
272-
│ └── device1.ini # Uses directory: "spi" driver
269+
├── dmflash.ini # Uses filename: "dmflash" driver
270+
├── dmspiflash/
271+
│ ├── device0.ini # Uses directory: "dmspiflash" driver
272+
│ └── device1.ini # Uses directory: "dmspiflash" driver
273273
└── custom.ini # Contains driver_name=dmi2ceeprom in file
274274
```
275275

@@ -290,10 +290,10 @@ The resulting filesystem path depends on which device numbers the driver provide
290290

291291
| Major | Minor | Resulting Path | Example |
292292
|-------|-------|----------------|---------|
293-
||| `<driver_name><major>/<minor>` | `spiflash0/1` |
294-
||| `<driver_name>x/<minor>` | `spiflashx/0` |
295-
||| `<driver_name><major>` | `spiflash0` |
296-
||| `<driver_name>` | `spiflash` |
293+
||| `<driver_name><major>/<minor>` | `dmspiflash0/1` |
294+
||| `<driver_name>x/<minor>` | `dmspiflashx/0` |
295+
||| `<driver_name><major>` | `dmspiflash0` |
296+
||| `<driver_name>` | `dmspiflash` |
297297

298298
#### Examples
299299

0 commit comments

Comments
 (0)