Commit Graph

17162 Commits

Author SHA1 Message Date
peter
6b8112e41c Add the 16550 programming interface code for PCIS_SIMPLECOMM_UART. 1999-10-09 16:00:56 +00:00
jhay
2e5d3625c0 Update the PPSAPI to draft-mogul-pps-api-05.txt which is the latest.
NOTE: This will break building ntpd until ntpd has been upgraded to also
support draft 05. People that want to build ntpd in the meantime can
get patches from me.
1999-10-09 14:49:56 +00:00
phk
fffb90f9b2 A leftover include file from pre-CAM days gets retired... 1999-10-09 13:25:30 +00:00
dfr
1aa9905087 Factor out the PnP resource parser so that it can be re-used by pnpbios
and acpi.

Reviewed by: msmith
1999-10-09 13:11:46 +00:00
dfr
f00839675c Fix build break.
Submitted by: Thomas Valentino Crimi <tcrimi+@andrew.cmu.edu>
1999-10-09 12:30:18 +00:00
dfr
f4d20726f1 Add net device to netboot. 1999-10-09 12:29:42 +00:00
mdodd
452a78e08b Remove old copies. These files now live in src/sys/dev/buslogic 1999-10-09 06:28:18 +00:00
mdodd
ab7a87c594 - Point the right bits at the new location of the bus front ends.
The 'bt' SCSI driver now lives in sys/dev/buslogic.

- Correct a few comments.
1999-10-09 06:25:18 +00:00
green
ddd5dad18c Add a newline to "WARNING: %s maxphys = 0 ??" so it doesn't trip up
syslogd.  Note of course it's simply much more polite and correct, too :)
1999-10-09 05:17:05 +00:00
mdodd
0ea963e811 - Restore correct operation of bt_mca.
- Work around a problem not yet solved in the tree (but solved in mine.)

	device_get_ivars() should never be cast to a struct resource_list *
	The solution, under review, involves the creation of a
	device_get_resource_list() function.  More later.
1999-10-09 04:02:02 +00:00
imp
bf25d10421 Make interrupts shareable with RF_SHAREABLE. This is untested, but
it compiles and should just work.
1999-10-09 03:52:07 +00:00
mdodd
df301c22fe Remove these files as they now live in sys/dev/dpt/ 1999-10-09 03:51:18 +00:00
imp
e07a554868 Allow interrupt sharing by allocating the interrupt RF_SHAREABLE.
This allows newpcm to grok my es1370 based card, which shared
interrupts with the ethernet card.
1999-10-09 03:50:27 +00:00
imp
117aa238f6 Call DEVICE_IDENIFY in bus_generic_driver_added to allow devices to
add nodes to the tree.  Also, default to bus_generic_driver_added for
the BUS_DRIVER_ADDED method.

This allows newbus busses to be kldload'd.

Reviewed by: dfr
1999-10-09 03:48:18 +00:00
mdodd
5f8b8c74e7 Switch over to the new location in sys/dev/dpt.
Fix a forgotten #include
1999-10-09 03:46:28 +00:00
mdodd
a023f5ba4d Remove the DPT EISA driver entry. 1999-10-09 03:41:07 +00:00
mdodd
7b08684353 - Implement a simple PIO driven function for retreiving the onboard
configuration information from a DPT card at a given port.

  This is needed by the ISA bus front end (still to come) and the EISA
  bus front end (which hasn't ever worked).

- Blow away dpt_eisa.h as the information it contains does not justify
  an additional file.

- Convert dpt_eisa.c to use the onboard config instead of trying to
  read the EISA configuration registers.
1999-10-09 03:39:47 +00:00
phk
cec2d553b6 Fix a panic(8) implementation:
hexdump -C < /dev/drum
by simply refusing to do I/O from userland.
a panic.  I'm not sure we even need /dev/drum anymore, it seems
to have been broken for a long time thi
1999-10-08 19:10:18 +00:00
phk
c3bc2a7bec Add a couple of strategic KASSERTs 1999-10-08 19:07:23 +00:00
peter
986eaaa550 Zap cdevsw_add() - the make_dev's take care of it and don't use
the cdevsw[] array.
1999-10-08 18:27:20 +00:00
phk
9e2a2cf3ab Add back sysctl vfs.enable_userblk_io 1999-10-08 18:25:19 +00:00
n_hibma
1a613f87c8 perl5 -> perl
(This was breaking world.)

Submitted by:	Marcel Molenaar, green
1999-10-08 14:29:12 +00:00
green
fb76cb2c0b perl5 -> perl
(This was breaking world.)
1999-10-08 14:09:17 +00:00
mdodd
f0ca564775 Sync with recent changes to the MCA bus code. Resource IVARS went
away.
1999-10-08 13:02:34 +00:00
roger
bb2e675228 No longer required, following the move of the driver to /sys/dev/bktr 1999-10-08 10:19:49 +00:00
marcel
8366d8e9d7 Synchronize with i386 rev 1.367 1999-10-08 09:20:56 +00:00
dfr
1b05089e38 Don't include <machine/frame.h>. 1999-10-08 09:09:13 +00:00
n_hibma
c3c39363af Change the SOURCE line to include ${CURDIR}
Submitted by:	Guy Helmer <ghelmer@scl.ameslab.gov>
1999-10-08 07:41:17 +00:00
n_hibma
d06b076544 Move the include of device.h into the NetBSD specific section.
Submitted by:	Guy Helmer <ghelmer@scl.ameslab.gov>
1999-10-08 07:38:11 +00:00
peter
d2c2fe62f0 Zap these defucnt files before anyone things about trying to merge them. 1999-10-08 06:21:38 +00:00
phk
ac618b2685 Fix amr.c line, a '.' had become a '/'. 1999-10-08 05:43:33 +00:00
n_hibma
d85494b2df Fix typo 1999-10-07 21:25:04 +00:00
n_hibma
0ff67f6369 The Makefiles for the modules for the USB device drivers.
Finally.
1999-10-07 21:23:08 +00:00
n_hibma
8de11caff0 Make the umodem stub compile 1999-10-07 21:09:08 +00:00
n_hibma
90d5b7a288 Remove a debugging printf. 1999-10-07 21:08:29 +00:00
n_hibma
01a5c1aac5 Add make_dev and remove_dev. 1999-10-07 21:06:52 +00:00
n_hibma
49b5ea72f9 priorities weren't correct (old version). 1999-10-07 20:58:43 +00:00
n_hibma
b6c58860ab Major synchronisation with the NetBSD USB stack:
- Some cleanup and improvements in the uhci and ohci drivers
- Support for plugging and unplugging devices improved
- Now available is bulk transport over OHCI controllers
- Resume and suspend have been temporarily been disabled again.  Proper
  support for it is available in the uhci.c and ohci.c files but I have
  not yet spent the brain cycles to use it.
- OpenBSD now uses the USB stack as well
- Add FreeBSD tags
1999-10-07 19:26:38 +00:00
n_hibma
eea0f62c05 remove the use of uhci_reset to wake up the controller after
resume/suspend (->resume is broken again, will be fixed properly ASAP)

style fixes
1999-10-07 18:56:10 +00:00
n_hibma
55a69f0422 Remove last bits and pieces of NetBSD porting.
Remove the use of ukbd_disconnect and replace it with direct
calls to disable.
Change printf to DPRINTF
Remove the use of usbd_lock, change it to splusb()/splx()
1999-10-07 18:53:08 +00:00
n_hibma
cfbf728f56 Remove the last bits and pieces left over from porting the driver
from NetBSD.
1999-10-07 18:50:46 +00:00
marcel
82d2a417f9 Simplification of the signal trampoline and other cleanups.
o  Remove unused defines from genassym.c that were needed
   by the trampoline.
o  Add load_gs_param function to support.s that catches
   a fault when %gs is loaded with an invalid descriptor.
   The function returns EFAULT in that case.
o  Remove struct trapframe from mcontext_t and replace it
   with the list of registers.
o  Modify sendsig and sigreturn accordingly.

This commit contains a patch by bde.

Reviewed by: luoqi, jdp
1999-10-07 12:40:34 +00:00
bp
92cdc096e6 Put back cn_namelen initialization. Removed by phk in rev 1.2. 1999-10-07 12:18:12 +00:00
marcel
fc3c2c1bd5 I forgot this one :-(
ucontext_t is now actually compatible with struct sigcontext.

Discovered by: jdp
1999-10-07 09:03:17 +00:00
msmith
410580f7fd Connect the 'amr' and 'mlx' drivers. They can be built as modules or
integrated into a static kernel as the user wishes.
1999-10-07 02:24:22 +00:00
msmith
8582d1db60 This is a driver for the AMI MegaRAID family of controllers. It all of
the AMI PCI controllers using the 8LD firmware interface (40LD firmware
will be supported as soon as I have hardware to test with).

These controllers are rebadged by Dell as the PERC, as well as by HP
and possibly other vendors.
1999-10-07 02:23:12 +00:00
msmith
685ad45645 This is a driver for the Mylex DAC960 family of integrated RAID
controllers.  It currently supports the P, PL, PD and PU variants,
with more to be supported shortly.
1999-10-07 02:20:32 +00:00
msmith
f9e0a2c0d2 Be much more selective in claiming devices that might be IDE controllers.
The old algorithm was:

 if class == storage and subclass != SCSI device must be IDE

This results in claiming 'raid' and 'other' storage devices as IDE,
which is typically not the case.

Reviewed by:	sos
1999-10-07 02:17:21 +00:00
msmith
5f150b8199 Re-synchronise the alpha major numbers list with the i386 list.
Add the Mylex DAC960 and AMI MegaRAID numbers.
1999-10-07 02:15:10 +00:00
jhay
8705024885 Swap IOC_OUT and IOC_IN for the SETDIR macro. The linux ioctl read and
write bits are swapped.

Reviewed by:	luoqi, marcel
1999-10-06 19:51:37 +00:00