Thread (2 messages) flat view 2 messages, 2 authors, 2017-12-05

Re: [PATCH v3 11/14] nubus: Rename struct nubus_dev

From: Bartlomiej Zolnierkiewicz <hidden>
Date: 2017-12-05 13:50:52
Also in: linux-m68k, lkml, netdev

On Tuesday, December 05, 2017 01:20:02 AM Finn Thain wrote:
It is misleading to call a functional resource a "device". In adopting
the Linux Driver Model, the struct device will be embedded in struct
nubus_board. That will compound the terminlogy problem because drivers
will bind with boards, not with functional resources. Avoid this by
renaming struct nubus_dev as struct nubus_rsrc. "Functional resource"
is the vendor's terminology so this helps avoid confusion.

Cc: Bartlomiej Zolnierkiewicz <redacted>
Tested-by: Stan Johnson <redacted>
Signed-off-by: Finn Thain <redacted>
Acked-by: Bartlomiej Zolnierkiewicz <redacted>

for fbdev part
---
 drivers/net/ethernet/8390/mac8390.c     |  26 ++++----
 drivers/net/ethernet/natsemi/macsonic.c |  22 +++----
 drivers/nubus/nubus.c                   | 105 ++++++++++++++++----------------
 drivers/nubus/proc.c                    |  15 ++---
 drivers/video/fbdev/macfb.c             |   2 +-
 include/linux/nubus.h                   |  30 +++++----
 6 files changed, 98 insertions(+), 102 deletions(-)
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help