All of lore.kernel.org
 help / color / mirror / Atom feed
From: Finn Thain <fthain@telegraphics.com.au>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v4 00/14] Modernization and fixes for NuBus subsystem
Date: Wed, 13 Dec 2017 22:16:30 -0500 (EST)	[thread overview]
Message-ID: <cover.1513220582.git.fthain@telegraphics.com.au> (raw)

This series begins with cleanups and fixes for the NuBus subsystem and
finishes with a patch to add support for the Linux Driver Model.
A separate series (which requires this one) modernizes NuBus drivers.

Changes since v1:
- Added the missing NULL check in nubus_device_remove().
- Squashed the two /proc/bus/nubus/s/ patches into one patch.
- Combined the two sets of /proc/bus/nubus file operations into one set.
- Used the name 'nubus_rsrc' instead of 'nubus_functional_resource'.
- Used the name 'nubus_device_register' instead of 'nubus_device_add'.
- Dropped the unused EXPORT_SYMBOL(nubus_seq_write_rsrc_mem).
- Replaced licensing text in the new file with SPDX-License-Identifier.

Changes since v2:
- Implemented an idiomatic device release function for nubus boards.
- Removed the global nubus_boards linked list.
- Removed nubus_board pointer from proc dir entry private data to improve
  modularity.
- Adopted the standard linked list implementation.
- Disambiguated unrecognized and empty resources under /proc/bus/nubus.
- Reduced redundancy in proc dir entry private data to save some memory.
- Replaced /proc/nubus custom seq file ops with single_open().

Changes since v3:
- Added Acked-by and Reviewed-by tags.
- Moved the SPDX tag in bus.c to the first line of the file.


Finn Thain (14):
  nubus: Avoid array underflow and overflow
  nubus: Fix up header split
  nubus: Use static functions where possible
  nubus: Fix log spam
  nubus: Validate slot resource IDs
  nubus: Call proc_mkdir() not more than once per slot directory
  nubus: Remove redundant code
  nubus: Clean up whitespace
  nubus: Generalize block resource handling
  nubus: Rework /proc/bus/nubus/s/ implementation
  nubus: Rename struct nubus_dev
  nubus: Adopt standard linked list implementation
  nubus: Add expansion_type values for various Mac models
  nubus: Add support for the driver model

 arch/m68k/include/asm/macintosh.h       |   9 +-
 arch/m68k/mac/config.c                  | 110 +++----
 drivers/net/ethernet/8390/mac8390.c     |  33 +-
 drivers/net/ethernet/cirrus/mac89x0.c   |   6 +-
 drivers/net/ethernet/natsemi/macsonic.c |  38 ++-
 drivers/nubus/Makefile                  |   2 +-
 drivers/nubus/bus.c                     | 117 +++++++
 drivers/nubus/nubus.c                   | 544 +++++++++++++++++---------------
 drivers/nubus/proc.c                    | 282 ++++++++---------
 drivers/video/fbdev/macfb.c             |  10 +-
 include/linux/nubus.h                   | 185 +++++++----
 include/uapi/linux/nubus.h              |  23 --
 12 files changed, 761 insertions(+), 598 deletions(-)
 create mode 100644 drivers/nubus/bus.c

-- 
2.13.6

             reply	other threads:[~2017-12-14  3:16 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-14  3:16 Finn Thain [this message]
2017-12-14  3:16 ` [PATCH v4 14/14] nubus: Add support for the driver model Finn Thain
2017-12-14  3:16 ` [PATCH v4 06/14] nubus: Call proc_mkdir() not more than once per slot directory Finn Thain
2017-12-14  3:16 ` [PATCH v4 02/14] nubus: Fix up header split Finn Thain
2017-12-14  3:16 ` [PATCH v4 13/14] nubus: Add expansion_type values for various Mac models Finn Thain
2017-12-14  3:16 ` [PATCH v4 09/14] nubus: Generalize block resource handling Finn Thain
2017-12-14  3:16 ` [PATCH v4 10/14] nubus: Rework /proc/bus/nubus/s/ implementation Finn Thain
2017-12-14  3:16 ` [PATCH v4 03/14] nubus: Use static functions where possible Finn Thain
2017-12-14  3:16 ` [PATCH v4 01/14] nubus: Avoid array underflow and overflow Finn Thain
2017-12-14  3:16 ` [PATCH v4 04/14] nubus: Fix log spam Finn Thain
2017-12-14  3:16 ` [PATCH v4 08/14] nubus: Clean up whitespace Finn Thain
2017-12-14  3:16 ` [PATCH v4 07/14] nubus: Remove redundant code Finn Thain
2017-12-14  3:16 ` [PATCH v4 05/14] nubus: Validate slot resource IDs Finn Thain
2017-12-14  3:16 ` [PATCH v4 12/14] nubus: Adopt standard linked list implementation Finn Thain
2017-12-14  3:16   ` Finn Thain
2017-12-14  3:16 ` [PATCH v4 11/14] nubus: Rename struct nubus_dev Finn Thain
2017-12-14  3:16   ` Finn Thain
2018-01-05 13:20 ` [PATCH v4 00/14] Modernization and fixes for NuBus subsystem Geert Uytterhoeven
2018-01-06  3:34   ` Finn Thain
2018-01-07 10:14     ` Geert Uytterhoeven
2018-01-08  2:58       ` Finn Thain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1513220582.git.fthain@telegraphics.com.au \
    --to=fthain@telegraphics.com.au \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.