mse reorg

From: M. Warner Losh (imp_at_bsdimp.com)
Date: 12/12/04

  • Next message: Nielsen: "Re: rc.shutdown and jails"
    Date: Sat, 11 Dec 2004 17:42:22 -0700 (MST)
    To: hackers@freebsd.org
    
    

    I've reorganized the mse driver. I've split it up into cbus and isa
    bus front ends, and a core back end and moved it to dev/mse. I've
    also made it into a module.

    These patches eliminate all ifdefs in the driver by moving the machine
    specific parts to the bus attachment front ends. We can stop tracking
    two copies in the tree (although it doesn't seem to be a huge burdon).

    Please test this, especially on i386. I've tested it on pc98 with
    moused and it works the same as before as far as I can tell.

    Why did I do this? The PC-98 platform standardized on bus mice before
    the ps/2 mouse standard evolved in the US. I have a PC-98 machine
    that I'd like to clean up a number of issues I promised to clean up a
    long time ago. On the road to doing that, I noticed that this driver
    didn't support PNP on pc98, so I thought I'd add that (turns out that
    the isa layer needs to change, and in turn shows that using isa for
    both isa and cbus is flawed, but more about that later). In adding
    that, I thought it would be easy to eliminate the ifdefs, and this is
    the result.

    Comments? Test results on i386?

    Warner

            http://people.freebsd.org/~imp/mse.diff
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Nielsen: "Re: rc.shutdown and jails"

    Relevant Pages

    • Re: puc(4) man page update?
      ... bunch of bus attachments you don't want. ... ISA devices enumerated by ACPI on acpi0, but instead of an ACPI- aware ISA bus ... but excludes the isabus driver. ...
      (freebsd-current)
    • Re: PC104 Bus support
      ... PC/104 is generally not 'enumerated' in the same way PCI is; it's just ISA ... You'll need a driver of some sort for your A/D card, but, assuming it's not ... > If I have a PC104 bus on my CEPC, do I need a driver to support it? ...
      (microsoft.public.windowsce.platbuilder)
    • Re: [ALSA STABLE 3/3] a few more -- unregister platform device again if probe was unsuccessf
      ... with nothing other than the driver available to probe ... bus", where the _user_ would first need to setup the hardware from userspace by echoing values into sysfs. ... With an ISA bus type, ...
      (Linux-Kernel)
    • Re: [PATCH/RFT 0/13] x86: unify vmlinux.lds
      ... Disabling lock debugging due to kernel taint ... # Bus options (PCI etc.) ... # Generic Driver Options ...
      (Linux-Kernel)
    • Re: [PATCH 0/13] Time: Generic Timeofday Subsystem (v B10)
      ... bus type 'platform' registered ... Registering sysdev class '' ... device class 'pci_bus': registering ... usbcore: registered new driver usbfs ...
      (Linux-Kernel)