#
0701a158 |
| 12-Oct-2022 |
kettenis <kettenis@openbsd.org> |
Extend struct todr_chip_handle with a todr_quality member. This allows us to assign a quality to RTC implementation and pick the "best" RTC if a system has multiple RTCs (or multiple interfaces to a
Extend struct todr_chip_handle with a todr_quality member. This allows us to assign a quality to RTC implementation and pick the "best" RTC if a system has multiple RTCs (or multiple interfaces to an RTC). This allows us to prefer a battery-backed I2C RTC over an RTC that is part of the SoC which is only running of the SoC is powered. It also allows us to work around issues with firmware RTC interfaces that may lie to us or even crash the system.
This change makes sure the todr_quality member of the struct is always initialized. In most cases the quality will be set to zero; further adjustments of the quality for specific subsystems/architectures will follow.
ok cheloha@, patrick@
show more ...
|
#
471aeecf |
| 06-Apr-2022 |
naddy <naddy@openbsd.org> |
constify struct cfattach
|
#
2bbf581c |
| 30-Jan-2021 |
visa <visa@openbsd.org> |
Abstract octeon board handling a little
Detect octeon board model in one place, and replace firmware-supplied board_type with an abstract model identifier in driver code. This makes it easier to man
Abstract octeon board handling a little
Detect octeon board model in one place, and replace firmware-supplied board_type with an abstract model identifier in driver code. This makes it easier to manage with different products, and board flavours, that happen to use the same model information, such as board_type.
show more ...
|
#
2cef8dba |
| 30-Jun-2020 |
visa <visa@openbsd.org> |
Use <dev/clock_subr.h> in octrtc(4).
OK pirofti@
|
#
952c36ee |
| 20-Nov-2017 |
visa <visa@openbsd.org> |
Add the board ID of the Unifi Security Gateway PRO-4. Not tested with the hardware.
|
#
301d4f2f |
| 20-Nov-2017 |
visa <visa@openbsd.org> |
Fix the product code of the Unifi Security Gateway.
Prompted by Justin Hibbits
|
#
a2f7631e |
| 18-Nov-2017 |
visa <visa@openbsd.org> |
Add the board ID for the Ubiquiti Unifi Security Gateway.
From Justin Hibbits, thanks!
|
#
651c5269 |
| 29-Jul-2017 |
visa <visa@openbsd.org> |
There is no RTC on the E300 boards.
|
#
adbafb79 |
| 29-Jul-2017 |
visa <visa@openbsd.org> |
Replace a complex `if' condition with a list.
OK pirofti@
|
#
d227ddd6 |
| 19-Jun-2017 |
visa <visa@openbsd.org> |
There is no RTC on the E1000 board.
|
#
e41f3ba3 |
| 17-Dec-2016 |
visa <visa@openbsd.org> |
There is no RTC on Shasta, so do not attach the driver.
|
#
eb6dc41e |
| 26-Oct-2014 |
jasper <jasper@openbsd.org> |
- add board type of edgerouter pro - don't attach octrtc on the edgerouter pro either
openbsd boots fine on this system, but as there's no ethernet support yet there's no storage at all right now.
- add board type of edgerouter pro - don't attach octrtc on the edgerouter pro either
openbsd boots fine on this system, but as there's no ethernet support yet there's no storage at all right now.
ok pirofti@
show more ...
|
#
14ebdf15 |
| 11-Aug-2014 |
miod <miod@openbsd.org> |
Do not extern octeon_boot_info, <machine/octeonvar.h> declares it for you.
|
#
451355ca |
| 07-May-2014 |
pirofti <pirofti@openbsd.org> |
Fix whitespace mistakes.
|
#
1d0b786f |
| 15-Jan-2014 |
pirofti <pirofti@openbsd.org> |
Add support for the DS1337 TOD clocks found on some of the octeon models.
This is a very low resolution clock (1 second) that some models seem to be blessed with.
Found at least on CAM-100 and DSR
Add support for the DS1337 TOD clocks found on some of the octeon models.
This is a very low resolution clock (1 second) that some models seem to be blessed with.
Found at least on CAM-100 and DSR-500 models. It seems the EdgeRouter doesn't have support for this.
Tested by jmatthew@ and bcallah@. Okay miod@, bcallah@
show more ...
|