freebsd-nq/sys/conf
Bill Paul 63ba67b69c - Correct one aspect of the driver_object/device_object/IRP framework:
when we create a PDO, the driver_object associated with it is that
  of the parent driver, not the driver we're trying to attach. For
  example, if we attach a PCI device, the PDO we pass to the NdisAddDevice()
  function should contain a pointer to fake_pci_driver, not to the NDIS
  driver itself. For PCI or PCMCIA devices this doesn't matter because
  the child never needs to talk to the parent bus driver, but for USB,
  the child needs to be able to send IRPs to the parent USB bus driver, and
  for that to work the parent USB bus driver has to be hung off the PDO.

  This involves modifying windrv_lookup() so that we can search for
  bus drivers by name, if necessary. Our fake bus drivers attach themselves
  as "PCI Bus," "PCCARD Bus" and "USB Bus," so we can search for them
  using those names.

  The individual attachment stubs now create and attach PDOs to the
  parent bus drivers instead of hanging them off the NDIS driver's
  object, and in if_ndis.c, we now search for the correct driver
  object depending on the bus type, and use that to find the correct PDO.

  With this fix, I can get my sample USB ethernet driver to deliver
  an IRP to my fake parent USB bus driver's dispatch routines.

- Add stub modules for USB support: subr_usbd.c, usbd_var.h and
  if_ndis_usb.c. The subr_usbd.c module is hooked up the build
  but currently doesn't do very much. It provides the stub USB
  parent driver object and a dispatch routine for
  IRM_MJ_INTERNAL_DEVICE_CONTROL. The only exported function at
  the moment is USBD_GetUSBDIVersion(). The if_ndis_usb.c stub
  compiles, but is not hooked up to the build yet. I'm putting
  these here so I can keep them under source code control as I
  flesh them out.
2005-02-24 21:49:14 +00:00
..
defines
files Move acpi_perf and acpi_throttle into acpi.ko. Remove the acpi_perf 2005-02-24 20:48:07 +00:00
files.alpha Break out obscure ISA cards into their own files, as well as ne2000 2005-02-09 20:03:40 +00:00
files.amd64 - Correct one aspect of the driver_object/device_object/IRP framework: 2005-02-24 21:49:14 +00:00
files.arm Add arm/mem.c. 2004-11-22 22:20:50 +00:00
files.i386 - Correct one aspect of the driver_object/device_object/IRP framework: 2005-02-24 21:49:14 +00:00
files.ia64 It appears that 'kbd' device has never been used and isn't needed. 2004-11-23 00:00:43 +00:00
files.pc98 Fix build error (s/wd80x3.c/if_ed_wd80x3.c/). 2005-02-11 03:44:03 +00:00
files.powerpc Add /dev/mem and /dev/kmem to powerpc. 2004-08-16 13:07:40 +00:00
files.sparc64 Back out no longer necessary work-arounds added in rev. 1.59 for building 2005-02-12 19:19:20 +00:00
kern.mk Define INLINE_LIMIT for arm. 2004-05-14 13:35:46 +00:00
kern.post.mk Back when VOP_* was introduced, we did not have new-style struct 2004-12-01 23:16:38 +00:00
kern.pre.mk Barrow from kmod.mk and protect against adding -fno-strict-aliasing 2005-02-13 05:58:40 +00:00
kmod_syms.awk
kmod.mk Further embellish rev. 1.180: protect against -fno-strict-aliasing 2005-02-11 21:04:20 +00:00
ldscript.alpha Have the linker provide the btext symbol when referenced. This is needed 2004-08-27 19:13:35 +00:00
ldscript.amd64 Provide the _start_ctors and _stop_ctors symbols. As on i386, the addresses 2004-05-29 01:09:00 +00:00
ldscript.arm Use the address provided in the conf file, instead of hardcode 0xc0000000. 2004-09-23 22:52:55 +00:00
ldscript.i386 Align the .ctors section correctly. 2003-12-03 07:40:03 +00:00
ldscript.ia64 Have the linker provide btext. It's used for profiling. 2004-08-25 07:43:28 +00:00
ldscript.powerpc
ldscript.sparc64 Use the same SEARCH_DIR as other platforms. 2003-06-07 18:23:50 +00:00
majors nos->now typo reported by njl 2004-12-27 18:58:57 +00:00
majors.awk Add necessary awk magic to create a table of major numbers allocated 2003-02-27 08:52:11 +00:00
Makefile.alpha bump the Makefile config versions now that config is 600001... 2005-02-10 21:15:31 +00:00
Makefile.amd64 bump the Makefile config versions now that config is 600001... 2005-02-10 21:15:31 +00:00
Makefile.arm bump the Makefile config versions now that config is 600001... 2005-02-10 21:15:31 +00:00
Makefile.i386 bump the Makefile config versions now that config is 600001... 2005-02-10 21:15:31 +00:00
Makefile.ia64 bump the Makefile config versions now that config is 600001... 2005-02-10 21:15:31 +00:00
Makefile.pc98 bump the Makefile config versions now that config is 600001... 2005-02-10 21:15:31 +00:00
Makefile.powerpc bump the Makefile config versions now that config is 600001... 2005-02-10 21:15:31 +00:00
Makefile.sparc64 bump the Makefile config versions now that config is 600001... 2005-02-10 21:15:31 +00:00
makeLINT.mk Implemented "nooption" and "nomakeoption" config(8) tokens. 2003-02-26 23:36:59 +00:00
makeLINT.sed Implemented "nooption" and "nomakeoption" config(8) tokens. 2003-02-26 23:36:59 +00:00
newvers.sh If USER of HOSTNAME is set to an empty value, use the fallback value. 2005-01-15 13:25:41 +00:00
NOTES Bring back the full packet destination manipulation for 'ipfw fwd' 2005-02-22 17:40:40 +00:00
options Bring back the full packet destination manipulation for 'ipfw fwd' 2005-02-22 17:40:40 +00:00
options.alpha Update for the KDB framework. Sanitize the alpha console code now that 2004-07-10 22:29:41 +00:00
options.amd64 Add support for Windows/x86-64 binaries to Project Evil. 2005-02-16 05:41:18 +00:00
options.arm Add a new option, ARM32_NEW_VM_LAYOUT. When set, we try to put up to 4 2004-11-10 22:08:27 +00:00
options.i386 Remove CPU_ENABLE_TCC and hook the cpufreq p4tcc up to the build. 2005-02-23 16:43:44 +00:00
options.ia64 Catch up with the drive-by renaming of IA32 to COMPAT_IA32. It must 2004-08-16 18:54:23 +00:00
options.pc98 The bs and wdc drivers are gone. 2005-02-04 15:29:54 +00:00
options.powerpc Catch up with sparc64 OFWCONS_POLL_HZ change 2004-06-25 13:44:34 +00:00
options.sparc64 Better OFW console support on Sun Ultra2 machines. 2004-06-24 02:57:11 +00:00
systags.sh Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00