| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
already.
|
| |
|
|
|
|
| |
the config hint tables. This fixes a few warnings elsewhere (eg: fd).
|
|
|
|
|
| |
annoying 'smb is usurping smb's cdevsw' type messages. (Yes, there are
other ways to fix cdevsw_add(), but that is a doomed api)
|
|
|
|
|
| |
annoying 'iic is usurping iic's cdevsw' type messages. (Yes, there are
other ways to fix cdevsw_add(), but that is a doomed api)
|
|
|
|
|
|
| |
Don't use NFDC as an arbitary limit, it is not required and goes against
using PnP fdc devices (eg: when PNPBIOS is turned on, the motherboard
devices (sio, fdc, etc etc) are detected via PnP, not config(8).)
|
|
|
|
| |
want to break the snapshots :)
|
|
|
|
| |
CDEV_MAJOR entry to match.. Is "ipr" in the tree? I can't find it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
o Rewrite probe code to work in the newbus world.
o Add preliminary pnp support. I have no clue what the pnp ids for
the older ISA machines/cards. I don't have any of these cards/machines
so I'll have to rely on the user community to give me help.
o Minor code reformatting.
Attach hasn't been touched, and there may be some config issues that
we need to deal with as well. These will follow in time.
|
|
|
|
| |
Suggested by: David O'Brien <obrien@FreeBSD.ORG>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cleaning up the code:
- Declare many functions static
- Change variable names to make them more self explanatory
- Change usbd_request_handle -> usbd_xfer_handle
- Syntactical changes
- Remove some unused code
- Other KNF changes
Interrupt context handling
- Change delay to usbd_delay_ms were possible (takes polling mode into
account)
- Change detection mechanism for interrupt context
Add support for pre-allocation DMA-able memory by device driver
Add preliminary support for isochronous to the UHCI driver (not for OHCI
yet).
usb.c, uhci.c, ohci.c
- Initial attempt at detachable USB host controllers
- Handle the use_polling flag with a lttle more care and only set it if
we are cold booting.
usb.c, uhci.c ohci.c, usbdi.c usbdi_util.c usb_subr.c
- Make sure an aborted pipe is marked as not running.
- Start queued request in the right order.
- Insert some more DIAGNOSTIC sanity checks.
- Remove (almost) unused definitions USBD_XFER_OUT and USBD_XFER_IN.
usb.c, usb_subr.c
- Add an event mechanism so that a userland process can watch devices
come and go.
ohci.c
- Handle the case when a USB transfer is so long that it crosses two
page (4K) boundaries. OHCI cannot do that with a single TD so we make
a chain.
ulpt.c
- Use a bigger buffer when transferring data.
- Pre-allocate the DMA buffer. This makes the driver slightly more
efficient.
- Comment out the GET_DEVICE_ID code, because for some unknown reason it
causes printing to fail sometimes.
usb.h
- Add a macro to extract the isoc type.
- Add a macro to check whether the routine has been entered after splusb
and if not, complain.
usbdi.c
- Fix a glitch in dequeueing and aborting requests on interrupt pipes.
- Add a flag in the request to determine if the data copying is done by
the driver or the usbdi layer.
|
|
|
|
|
|
| |
Fix comment for b_caller[12] fields.
Spotted by: grog
|
|
|
|
| |
Spotted by: julian
|
|
|
|
|
| |
Submitted by: Paul Saab <paul@mu.org>
Reviewed by: phk
|
|
|
|
|
|
|
|
| |
vap->va_fsid, so we cannot get valid information about procfs.
Submitted by: SAWADA Mizuki miz@pa.aix.or.jp
Reviewed by: phk
PR: 1654
|
|
|
|
| |
Reminded by: dfr
|
|
|
|
|
|
|
|
| |
blackhole flag is set.
PR: 14958
Submitted by: Larry Baird <lab@gta.com>
Reviewed by: phk
|
| |
|
| |
|
|
|
|
|
| |
fetchable via sysctl. This saves ps having to read the u-area for stats.
Be sure to recompile libkvm, ps, w, top and the usual suspects.
|
|
|
|
| |
This reduces the size of the kernel and modules when compiled with GCC 2.95.
|
|
|
|
|
|
|
| |
tape to force the drive to do a media access so it knows what media
may be inserted).
Also Ken's make_dev patches- relatively untested.
|
|
|
|
|
|
| |
complain when some warnings are turned on.
Requested by: Bertrand Petit <elrond@phoe.frmug.org>
|
|
|
|
| |
make_dev()/destroy_dev() interface.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Obtained from: Whistle source tree
|
|
|
|
| |
Obtained from: Whistle source tree
|
| |
|
| |
|
|
|
|
| |
Ok'd by: dfr
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes some nasty procfs problems for SMP, makes ps(1) run much faster,
and makes ps(1) even less dependent on /proc which will aid chroot and
jails alike.
To disable this facility and revert to previous behaviour:
sysctl -w kern.ps_arg_cache_limit=0
For full details see the current@FreeBSD.org mail-archives.
|
|
|
|
|
|
|
|
|
|
|
| |
Alot of the code in sys/kern directly accesses the *Q_HEAD and *Q_ENTRY
structures for list operations. This patch makes all list operations
in sys/kern use the queue(3) macros, rather than directly accessing the
*Q_{HEAD,ENTRY} structures.
Reviewed by: phk
Submitted by: Jake Burkholder <jake@checker.org>
PR: 14914
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
registering their interrupts with rman as though they were going through
the ISA pic. This prevents a conflict between isa & pci for irqs on such
machines.
Also hookup the chipset struct before calling platform.pci_intr_init().
This allows me to call inw/outw down in the platform code.
Add interrupt printfs to match the CIA chipset.
Reviewed by: dfr
Tested by: wilko
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Alot of the code in sys/kern directly accesses the *Q_HEAD and *Q_ENTRY
structures for list operations. This patch makes all list operations
in sys/kern use the queue(3) macros, rather than directly accessing the
*Q_{HEAD,ENTRY} structures.
This batch of changes compile to the same object files.
Reviewed by: phk
Submitted by: Jake Burkholder <jake@checker.org>
PR: 14914
|
| |
|
| |
|
|
|
|
| |
should be a no-op in most cases.
|
|
|
|
|
|
| |
C form. See src/sys/i386/isa/sound/audio.c rev.1.23
Submitted by: bde
|
| |
|
| |
|
|
|
|
| |
Submitted by: bde
|