Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F166613009
D36880.id111446.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
595 B
Referenced Files
None
Subscribers
None
D36880.id111446.diff
View Options
Index: sys/dev/uart/uart_dev_snps.c
===================================================================
--- sys/dev/uart/uart_dev_snps.c
+++ sys/dev/uart/uart_dev_snps.c
@@ -216,7 +216,7 @@
device_printf(dev, "could not determine frequency\n");
error = uart_bus_probe(dev, (int)shift, (int)iowidth, (int)clock, 0, 0, UART_F_BUSY_DETECT);
- if (error != 0)
+ if (error > 0)
return (error);
/* XXX uart_bus_probe has changed the softc, so refresh it */
@@ -227,7 +227,7 @@
sc->apb_pclk = apb_pclk;
sc->reset = reset;
- return (0);
+ return (BUS_PROBE_VENDOR);
}
static int
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Aug 15, 9:13 PM (5 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36802047
Default Alt Text
D36880.id111446.diff (595 B)
Attached To
Mode
D36880: uart_dev_snps: Fix device probing
Attached
Detach File
Event Timeline
Log In to Comment