From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Ogness Subject: Re: [PATCH 3/4] printk: Add consoles to a virtual "console" bus Date: Fri, 08 Mar 2019 03:56:19 +0100 Message-ID: <87ef7ioyzw.fsf@linutronix.de> References: <087b13f7812b32cc7c3f9efea71c9bcf324dd031.1551486732.git.calvinowens@fb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Sender: linux-kernel-owner@vger.kernel.org To: Calvin Owens Cc: Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Greg Kroah-Hartman , Jonathan Corbet , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org List-Id: linux-serial@vger.kernel.org On 2019-03-02, Calvin Owens wrote: > This patch embeds a device struct in the console struct, and registers > them on a "console" bus so we can expose attributes in sysfs. I expect that "class" would be more appropriate than "bus". These devices really are grouped together based on their function and not the medium by which they are accessed. John Ogness From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F0D0C43381 for ; Fri, 8 Mar 2019 02:56:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 57A1A20840 for ; Fri, 8 Mar 2019 02:56:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726514AbfCHC4Z (ORCPT ); Thu, 7 Mar 2019 21:56:25 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:59432 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726441AbfCHC4Y (ORCPT ); Thu, 7 Mar 2019 21:56:24 -0500 Received: from localhost ([127.0.0.1] helo=vostro.local) by Galois.linutronix.de with esmtp (Exim 4.80) (envelope-from ) id 1h25gK-0007cf-LM; Fri, 08 Mar 2019 03:56:20 +0100 From: John Ogness To: Calvin Owens Cc: Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Greg Kroah-Hartman , Jonathan Corbet , , Subject: Re: [PATCH 3/4] printk: Add consoles to a virtual "console" bus References: <087b13f7812b32cc7c3f9efea71c9bcf324dd031.1551486732.git.calvinowens@fb.com> Date: Fri, 08 Mar 2019 03:56:19 +0100 Message-ID: <87ef7ioyzw.fsf@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-03-02, Calvin Owens wrote: > This patch embeds a device struct in the console struct, and registers > them on a "console" bus so we can expose attributes in sysfs. I expect that "class" would be more appropriate than "bus". These devices really are grouped together based on their function and not the medium by which they are accessed. John Ogness