From owner-freebsd-current@freebsd.org Mon May 22 21:01:24 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8754FD777C0; Mon, 22 May 2017 21:01:24 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1DD8719D6; Mon, 22 May 2017 21:01:24 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm0-x230.google.com with SMTP id 123so14416547wmg.1; Mon, 22 May 2017 14:01:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Map2q/ytlEwoLM/gtCKY9HprWf+CR3GooWHiNQqUAms=; b=c7QL6AOdW2d60MmXp9Z7u5InCSctQOmOwbezfsF/c+CLlp5mttM08Eo0EoOphm56X7 0ZZ5ANa+VHLRE/rcPTkUa0pdbY9o9lZLXHKH4TtXxpqA/soUm7yyrNS1pUlCDzkmPo2j NQO6kFOI8/IURofUU9QJ8Uh0m8pC/Vt1jJlAR7nDFVLKywwnMZesSMuP6bZ/aDwn2Rgm Hsmb4btqtXk3Nlup7+icjsdIo2sNwGqrq1ceytwuFXkka8KVuEEELGER0ewTiuVhIG4I sOARB3oRJd57WkBE33og0breSRySG/zAnf5EGL60/ZXAEMce/p7rIR0Lgo+CRKpS+sF4 F98A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Map2q/ytlEwoLM/gtCKY9HprWf+CR3GooWHiNQqUAms=; b=irGSeWAhgvB+5u1AfH5V1GCC0PbAW9yANNb0u4qJliPbbAnE5ij5E6qHdfbeRFZW+V 8Nmy37BnuR/B28QqYEXkyLmKQTRFJjRzcQ7vY/DzwWxBVi/Wd2x7YpToG+bLS9jmxuC9 BW1muuqsLSOaegeHwXtebU8Nv0WuNMRnbZbF/KI/Li6n68V6LKQo1jJOM+90eqhFeP3n 1+XL0xLQR6TTlYfJyOM7/2YZ+yRM2ClSUibbFORlHzUOfFDw/lNRUKGX+6FJQ9Rk3R74 SVwKwLniIUMr+on9UCWYxDRpp7iHICC5rF6H1tSGz85wKj98uLPJAO3aT5Le0tpnQFno FZEg== X-Gm-Message-State: AODbwcAhGydNwL8dIppqucxC346tEKZX69/IUp+BdMF6yRrIfyP8WpyQ wKHS5aQG3pKgu5eT4M+Xn1dxdefdyXDd X-Received: by 10.28.93.10 with SMTP id r10mr1524642wmb.68.1495486881865; Mon, 22 May 2017 14:01:21 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.28.193.134 with HTTP; Mon, 22 May 2017 14:01:21 -0700 (PDT) In-Reply-To: <1901874.v6m8jKq4cl@ralph.baldwin.cx> References: <1901874.v6m8jKq4cl@ralph.baldwin.cx> From: Adrian Chadd Date: Mon, 22 May 2017 14:01:21 -0700 X-Google-Sender-Auth: emgWswI0pXSWK0zYa7veNaO1jfM Message-ID: Subject: Re: [rfc] breaking out if_ath into ... lots of modules To: John Baldwin Cc: freebsd-current , "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2017 21:01:24 -0000 On 22 May 2017 at 13:17, John Baldwin wrote: > Why not have if_ath.ko just be a wrapper module that depends on everything > like dtraceall.ko? That would let 'kldload if_ath' and the auto-loading > code in ifconfig still DTRT. You could name the "only the driver" module > ath.ko or some such. Oh yeah, I could also do that to reduce POLA. :) Ok, I'll add that to the TODO list before I submit a review. I'll rename if_ath to if_ath_drv or something. -adrian