Elyes Haouas has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/60949 )
Change subject: util/lint: Update const_structs.checkpatch
......................................................................
Abandoned
--
To view, visit https://review.coreboot.org/c/coreboot/+/60949
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I61fc1b1f4d36f2fdf86d5cf518d32bb74b7763de
Gerrit-Change-Number: 60949
Gerrit-PatchSet: 2
Gerrit-Owner: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Julius Werner <jwerner(a)chromium.org>
Gerrit-MessageType: abandon
Attention is currently required from: Mario Scheithauer.
Werner Zeh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/69386 )
Change subject: drivers/phy/m88e1512: Provide functionality to customize LED status
......................................................................
Patch Set 3:
(4 comments)
File src/drivers/phy/m88e1512/chip.h:
https://review.coreboot.org/c/coreboot/+/69386/comment/961b08ad_4a9db253
PS2, Line 7: led_ctrl
> something like that?
Yes, looks better IMHO.
File src/drivers/phy/m88e1512/m88e1512.h:
https://review.coreboot.org/c/coreboot/+/69386/comment/ab3794bf_a7df6539
PS3, Line 7: PHY_MDIO_PAGE_ANY_ADR_RE
This name is a bit misleading. In the linked datasheet this register is called 'Page Address'. The 'Page Any' note just tries to make clear, that this register is available on 'any' page. In addition, all the registers accessed here are on the MDIO interface. So adding this to the register defines does not provide additional information but only make the name longer. What about:
#define PHY_PAGE_REG 0x16
I am still undecided if we really need the page defines. It is just a 1:1 mapped number... What dou you think?
Accordingly, the LED contrl register would then be
PHY_LED_FUNC_CTRL_REG
We could even get rid of the PHY prefix, but this is up to you to decide.
File src/drivers/phy/m88e1512/m88e1512.c:
https://review.coreboot.org/c/coreboot/+/69386/comment/308ef253_831e36d2
PS2, Line 22: dev->bus->dev->device
> A guess the PCI path would be more helpfull here than the device ID, or?
Ack
File src/drivers/phy/m88e1512/m88e1512.c:
https://review.coreboot.org/c/coreboot/+/69386/comment/5500e4dc_7dd9ff8d
PS3, Line 22: ...
Just one '.' should be suitable here.
--
To view, visit https://review.coreboot.org/c/coreboot/+/69386
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia71c43f4286f9201f03cb759252ebb405ab81904
Gerrit-Change-Number: 69386
Gerrit-PatchSet: 3
Gerrit-Owner: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Attention: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Gerrit-Comment-Date: Wed, 09 Nov 2022 11:31:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Comment-In-Reply-To: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-MessageType: comment