Commit Graph

34372 Commits

Author SHA1 Message Date
augustss
f0cebaeb64 Avoid even more #include for FreeBSD. 2000-01-16 15:12:41 +00:00
augustss
ed1c6349a1 Avoid some #include for FreeBSD. 2000-01-16 15:10:27 +00:00
assar
70aab8de7d (sysctl_doeproc): make sure we release the proclist_lock even if
copyout fails
2000-01-16 15:07:48 +00:00
augustss
c48388545c Check for the right vendor/product before fiddling with the Broadcom PHY. 2000-01-16 14:24:33 +00:00
minoura
2a71e2c15e Minor cleanups & corrections. 2000-01-16 14:20:54 +00:00
ad
d2d4da8b08 Be consistant when printing haHHBA status. 2000-01-16 14:08:42 +00:00
augustss
1ef32571c0 Add some USB Ethernet adapters. 2000-01-16 13:59:38 +00:00
augustss
b4e8010107 Add initial version of a driver for the ADMtek AN986 Pegasus USB to
Ethernet chip.
Written by Bill Paul, <wpaul@ee.columbia.edu>, for FreeBSD.
Massaged by Lennart Augustsson.
XXX Needs a thread to avoid a the gruesome USBD_NO_TSLEEP hack.
2000-01-16 13:45:56 +00:00
augustss
67ad556c60 Get timeout right in the gruesome hack. 2000-01-16 13:34:51 +00:00
augustss
eb7268f16c XXX Add a temporary, gruesome hack. It allows transfers to
XXX be done using delay() instead of tsleep().
XXX This enables transfers to be made from an interrupt context, which
XXX is needed until some more threads are added to the kernel.
XXX Using this hack (which is rare) causes the kernel to busy-wait
XXX for up to 1 ms at splusb().
2000-01-16 13:22:18 +00:00
augustss
2b8a0e9b1c Remove some debug code that was commited by mistake. 2000-01-16 13:14:43 +00:00
augustss
537c04e5ee Add a flag, USBD_FORCE_SHORT_XFER, to transfers. Using this flag will
force the last packet of a transfer to be smaller than the maximum
packet size.  The only time this matters is if the transfer size is
a multiple of the maximum packet size, in which case a 0 length packet
is sent last.
Some weird devices require this behaviour to determine the end of
a transfer.
2000-01-16 13:12:05 +00:00
augustss
d837d7a740 Avoid freeing already free data when attach fails. 2000-01-16 13:05:48 +00:00
ragge
fa560ec3ee Bogus context pointer sent to sigreturn() may crash the machine.
Bug found by der Mouse.
2000-01-16 12:43:52 +00:00
augustss
9b9e6e6d2c GC an unused typedef. 2000-01-16 11:19:05 +00:00
uch
1e74db1306 RCS Id. 2000-01-16 11:14:49 +00:00
augustss
f17d5fe839 Change compat defines a little for power hooks. 2000-01-16 10:38:58 +00:00
augustss
9e5ce08183 Add framework for doing isoc transfers. The actual scheduling code
is still missing.
2000-01-16 10:35:24 +00:00
augustss
1a080201cc Add shutdown hooks to ensure that the host controller is halted when
a reboot occurs.
2000-01-16 10:27:51 +00:00
augustss
98347a7628 Add comments. 2000-01-16 09:43:43 +00:00
augustss
5a91238d5f Turn on more debugguing flags with USB_DEBUG. 2000-01-16 09:42:36 +00:00
augustss
4539a83cdc Add a DPRINTF on keyboard errors. 2000-01-16 09:41:22 +00:00
augustss
5522f8f3ba Add some files for ethernet adapters (the files are not there yet). 2000-01-16 09:40:07 +00:00
augustss
c664f35fc5 Let usbd_set_polling() work on a usbd_device_handle instead of
a usbd_interface_handle.
2000-01-16 09:37:18 +00:00
augustss
9647c5b871 Another compat define. 2000-01-16 09:34:18 +00:00
augustss
d50156f1bd Start of implementation of UpDown processing unit control. 2000-01-16 09:32:56 +00:00
perseant
bfde45e89f Make sure that vnodes are locked when inactivated (e.g. by the cleaner) 2000-01-16 09:15:51 +00:00
cgd
9a222ad604 remove .cvsignore files; if the tree doesn't clean completely, that's a bug 2000-01-16 08:27:40 +00:00
perseant
86b0e2dc16 Fix a problem in my changes of Dec 14th, that prevents removed vnodes
from being inactivated under some conditions.  Removed vnodes are now
inactivated when the VDIROP flag is cleared, and to prevent block
accounting problems this clearing has been postponed until
lfs_segunlock.
2000-01-16 05:56:14 +00:00
perseant
a38b519087 correct typo (reference uninitialized variable) 2000-01-16 04:57:08 +00:00
drochner
062970567f catch zeroed ID string (happens for disabled devices) 2000-01-16 03:30:23 +00:00
eeh
e73d544dec Interrupt handlers return zero if they didn't handle the interrupt. 2000-01-16 03:13:24 +00:00
eeh
0e1153bb9f The bootpath element must point to the appropriate bus node to work correctly. 2000-01-16 03:10:58 +00:00
takemura
45dec0d12e Convert CR/LF -> LF. 2000-01-16 03:07:22 +00:00
assar
1f511ff199 (kdb_trap): do not enter DDB on traps when db_onpanic == 0 2000-01-16 01:42:03 +00:00
matt
a9e57ac54d Fixes for 21143 and MII in full-duplex mode. 2000-01-15 18:39:31 +00:00
ad
c02df4a16e Typo. Don't worry, nothing that will cause system instability or data
corruption.
2000-01-15 18:13:22 +00:00
ad
d2d9ade964 Validate EATA signature in returned EATA configuration data before anything
else. More proper than important.
2000-01-15 18:10:32 +00:00
aymeric
494dc92eb1 allow french keyboard users to swap control and caps lock keys 2000-01-15 17:14:22 +00:00
aymeric
626fbe9b6d make this work again (include machine/cpu.h) 2000-01-15 17:09:47 +00:00
aymeric
20a96dc688 make DCIAS work for 020-only / 030-only kernels 2000-01-15 17:08:03 +00:00
aymeric
921c6acc0e defined IPL_BIO, IPL_NET and IPL_TTY for soon to be integrated PCMCIA code 2000-01-15 15:04:21 +00:00
minoura
49f79ab628 Change physseg allocation strategy to VM_PSTRAT_BIGFIRST.
Required when big (>64MB) high memory is installed.
2000-01-15 14:47:25 +00:00
aymeric
b4406c3d63 make this compile again 2000-01-15 13:50:13 +00:00
nisimura
410a23c0a3 Revert to old ROM console I/O code. 2000-01-15 10:06:21 +00:00
msaitoh
150090f9b8 inittodr() and resettodr() supports SH4 2000-01-15 02:46:30 +00:00
nisimura
94c89f6863 Kludge to detect booted_device detection. Needs helpful 2nd stage boot
loaders for finer controls.
2000-01-15 02:06:31 +00:00
oster
138d8fef04 Fix typo + cleanup a bit. 2000-01-15 01:57:57 +00:00
christos
1b02e0a7db Build biosboot_com0 too. 2000-01-15 01:17:12 +00:00
cgd
d447117750 Some additional sanity checks to keep this code from bursting into
flame if presented with bad CIS data (e.g. because of a memory space
conflict):
* more sanity checking on LONGLINK_MFC CIS tuples (exact length check, sanity
  check on size vs. size of array we allocated for them), to avoid various
  missteps which could cause this code to complete trash the kernel stack.
* clear the entire contents of the state structure before processing, so
  things like uninitted pointers will actually have a known value!
* be more careful with CISTPL_CFTABLE_ENTRY: check to see that the current
  state's default_entry isn't NULL before dereferencing it.
2000-01-14 23:09:53 +00:00