Commit Graph

33028 Commits

Author SHA1 Message Date
thorpej
bca88a28c8 Add mii_down(), which is used by MAC drivers to inform PHYs that the
interface is now down.  PHYs use this to cancel pending asynchronous
operations.
1999-11-12 18:12:59 +00:00
perseant
fc5ecbb5a8 Back out my patch of the 8th (to address unreferenced inode problem).
Apparently this needs more thought.
1999-11-12 16:56:48 +00:00
is
71d206232b Return the data length even for non-readonly strings, as advertized. 1999-11-12 16:10:16 +00:00
lukem
e8dc21a13a add -DNET_DEBUG to the list of commented-out debug options 1999-11-12 13:13:59 +00:00
lukem
053d3c3702 fix pointer size in debug message 1999-11-12 13:12:09 +00:00
simonb
2b6e59dd39 Don't include <lib/libkern/libkern.h> for prototypes that are also in
<lib/libsa/stand.h>.  The alpha still needs libkern for the division
and remainder support.
1999-11-12 13:11:40 +00:00
simonb
7a03e8cda8 Add memset() prototype. 1999-11-12 12:24:42 +00:00
simonb
c24b109ff0 "zutil.h" includes <lib/libsa/stand.h> now. 1999-11-12 12:12:13 +00:00
simonb
fffdb85f69 Include <lib/libsa/stand.h> so that this builds with WARNS=1 1999-11-12 12:11:31 +00:00
is
1c37111492 Identification of DOMEX PCI-SCSI board, by Thilo Manske, PR 8772. 1999-11-12 12:03:32 +00:00
nisimura
91fd021893 - Arrange 'platform' struct to have clkread entry, which can interporate
HZ using high resolution timer circuit if available.  Merge os_init
  into the primary hardware initialization in sysinit[].init.
- Nuke an irrelevant attempt to disable RTC under splhigh condition.
- Make sure IOASIC DECstations accumulate device interrupt mask bits into
  certain global variables.
- Have witchcrafts to issue ACK to RTC interrupt.
- Add a missing \n and a minor rearrangement in cpu.c
1999-11-12 09:55:37 +00:00
mark
3d347d6d24 Regenerate from podules. 1999-11-12 07:38:51 +00:00
mark
9d919b7239 Add EtherI and EtherN podule ID's
From Mike Pumford, part of PR/8765.
1999-11-12 07:37:21 +00:00
mark
e28a162f54 In _bus_dma_sync() drain the write buffer after the cache clean.
Spotted by Richard Earnshaw.
1999-11-12 07:29:34 +00:00
nisimura
95e2c7af76 Make sure wbflush symbol treated as a C function call. 1999-11-12 06:17:13 +00:00
matt
d2434ef890 remove reference to auxiotwo 1999-11-12 06:15:38 +00:00
matt
73ae3282ab turns we need to tweak the auxio1 reg to enable the modem. also fix a call
to sbus_bus_map.  it's closer to working but I wonder if COM_FREQ is the
right value.
1999-11-12 05:20:03 +00:00
matt
8ffb2596c7 make this compile under current 1999-11-12 04:42:19 +00:00
matt
3744fe193f add some stuff needed for pcmcia support 1999-11-12 04:41:46 +00:00
simonb
4abf82d09b Remove references to libkern after Jason's recent work to libsa. 1999-11-12 01:37:42 +00:00
simonb
3f691021a6 Add strncpy().
Add prototypes for bcmp(), bzero() so the libsa compiles with WARNS=1
1999-11-12 01:26:28 +00:00
augustss
0d2fabdf26 A number of stylistic changes to increase readability (many suggested
by Nick Hibma):
	use NULL not 0
	declare all local definitions static
	rename s/usbd_request/usbd_xfer/ s/reqh/xfer/
	rename s/r/err/
	use implicit test for no err
	KNF
1999-11-12 00:34:57 +00:00
augustss
c8ad47986a Regen. 1999-11-12 00:26:39 +00:00
augustss
505ab77387 Add a modem from ELSA. 1999-11-12 00:26:13 +00:00
thorpej
ab395306cd Small, MI strcat() and strcpy(). 1999-11-11 21:23:27 +00:00
thorpej
a7abffa1f2 The hack needed to work around gcc lameness. 1999-11-11 20:36:52 +00:00
thorpej
5dde9d67c2 Don't reference libkern.h in standalone programs. 1999-11-11 20:31:07 +00:00
thorpej
47f5c977ef Don't reference libkern.h. 1999-11-11 20:28:04 +00:00
thorpej
e29afb6f98 No longer need to build libkern. 1999-11-11 20:27:42 +00:00
thorpej
471a3aa8e4 Update for the improvements to libsa, and don't reference libkern.h. 1999-11-11 20:23:16 +00:00
thorpej
38200dd3e4 Networking routines needed for libsa to be self-contained. 1999-11-11 20:21:59 +00:00
thorpej
c29af30c3c Minimal quad routines needed for libsa to be self-contained. The compiler
emits a reference to this one in the UFS code.
1999-11-11 20:20:35 +00:00
thorpej
cad7e97082 Add small, MI strcmp(), strlen(), and strncmp() functions. Modules within
libsa depend on them, to it seems rather silly to have to build an additional
library (e.g. libkern) to get them.
1999-11-11 18:11:25 +00:00
thorpej
d642bd03d1 Add register prefixes. 1999-11-11 17:08:37 +00:00
matt
1138f7e762 add COMPAT_14 1999-11-11 15:55:53 +00:00
scw
3981e235b7 Zero is a valid value for ch_tcor and ch_rcor, so be a bit more conservative
when deciding if the baud-rate should be changed. (Spotted by Bruce Martin)
Also fix the mask used when setting the Rx FIFO threshold to zero. I don't
yet understand how the Rx side worked with the code as it was. ;-}
1999-11-11 09:38:43 +00:00
itohy
de6b762004 Make X680x0 IOCS library build on ELF toolchain. 1999-11-11 08:16:20 +00:00
itohy
59c36c2cb6 Make Human68k DOS library build on ELF toolchain. 1999-11-11 08:14:43 +00:00
itohy
fcc45340da Make it build on ELF toolchain. 1999-11-11 08:12:50 +00:00
thorpej
ac3150a13d Add register prefixes. 1999-11-11 01:53:46 +00:00
thorpej
9aeef983e2 Sync w/ libc. 1999-11-11 01:32:10 +00:00
thorpej
2859f66b8f Add register prefixes. 1999-11-11 01:27:59 +00:00
thorpej
f16bb11bf0 Add register prefixes. 1999-11-10 23:17:21 +00:00
hubertf
83964cc3e3 add (commented out) APM options 1999-11-10 22:39:45 +00:00
augustss
445d6f8e64 Regen. 1999-11-10 19:47:39 +00:00
augustss
f2725f06b8 Add another Quickcam. 1999-11-10 19:46:40 +00:00
thorpej
fac9817d52 Define ELF_ST_*() to ELF{32,64}_ST_* as appropriate. They evaluate to
the same thing, but this provides consistency with everything else.
1999-11-10 17:31:56 +00:00
drochner
283100a20d clarify diagnostic message about nonstandard/reserved/OEM defined
event codes
1999-11-10 16:55:25 +00:00
drochner
536f716be9 use console_debugger() on CTL-ALT-ESC to honour the ddb.onconsole sysctl 1999-11-10 16:52:14 +00:00
drochner
3bc4cec200 allow to set multiple keyboard "variants" simultanously.
Follows PR kern/8456 by Michael Eriksson <eramore@era-t.ericsson.se>,
implemented diffently.
1999-11-10 16:49:38 +00:00
matt
391c8e434d regen 1999-11-10 15:56:39 +00:00
matt
805b56adb4 Add Entrega USB Serial->DB9 widget 1999-11-10 15:55:51 +00:00
leo
0c76b12125 Give lp->d_type a value other than 'unknown'. When the model is "ST506",
the d_type field becomes DTYPE_ST506, otherwise it will be set to DTYPE_ESDI.
1999-11-10 14:11:34 +00:00
tsubai
90a8355d04 Support md root for INSTALL. 1999-11-10 13:33:09 +00:00
augustss
8276207b08 Regen. 1999-11-10 12:31:31 +00:00
augustss
8436192416 Add two more devices. 1999-11-10 12:31:01 +00:00
nisimura
24a33d9f37 Remove a small scale 'improvement' for TLB mod exception which is now
found harmful.  Fix panics on MIPS1 only kernels.
1999-11-10 08:06:05 +00:00
mycroft
fd8d1c65eb Add USB support. 1999-11-10 05:57:52 +00:00
mycroft
74ca1c37ef Deal with /psuedo-hid in the following atrocious way:
* If only one of ukbd or akbd is configured, use the node for that device.
* If both are configured, use ukbd.
Ultimately, the right way to deal with this is probably so simulate the effect
of /psuedo-hid using wsmux.  But not today.
1999-11-10 05:23:18 +00:00
mycroft
f8934aa2f6 Modification to the previous:
We still have to preload the command, when selecting without ATN.  (We could
probably avoid this by being more careful in the interrupt handler...)
1999-11-10 05:02:53 +00:00
mycroft
58fec0d55a When sending a REQUEST SENSE, do *not* attempt to create an I_T_L nexus. This
is technically wrong, and some targets (like my 4x NEC CD-ROM drive) misbehave
when we do.
1999-11-10 04:21:30 +00:00
mycroft
105a2438f9 Fix an obvious bug is some diagnostic code; we must lower our spl again... 1999-11-10 04:19:59 +00:00
mycroft
5b75863870 A residual after select with DMA step 2 is legitimate (in fact, *not* having a
residual would probably be cause for concern), so don't spew about it.
1999-11-10 00:42:37 +00:00
thorpej
c718a7c548 Add register prefixes. 1999-11-10 00:13:59 +00:00
thorpej
e9e011443c Add register prefixes that I missed before. 1999-11-10 00:02:23 +00:00
thorpej
ae13d86f18 Add register prefixes. 1999-11-10 00:01:32 +00:00
kleink
b4f0936a8c Per discussion on tech-toolchain, remove MIPS-specific <machine/elf.h> header;
all the information is available from <sys/exec_elf.h>.
1999-11-09 21:50:18 +00:00
kleink
a894c76852 Fix comment typo introduced in rev. 1.27. 1999-11-09 21:38:09 +00:00
kleink
1c2019b5a8 Rip protection against multiple inclusion from wrapper headers. 1999-11-09 21:34:03 +00:00
mycroft
8f05f33e49 Move the boot block load address from 3MB to 7MB. The INSTALL kernel is
already too large, and GENERIC won't be far behind.
1999-11-09 18:39:41 +00:00
augustss
e9fc8103ca Make detach wait for interrupts to finish.
Bail out in interrupt routine when device is dying.
1999-11-09 16:52:14 +00:00
augustss
3ea93b7669 Make sure to call vdevgone() on all devices when deteching. 1999-11-09 16:50:47 +00:00
joda
c7cca9cd39 make this compile with CARDBUS_DEBUG 1999-11-09 15:03:59 +00:00
sommerfeld
dea88f1c20 Completely rewrite receive processing to avoid sleep-deprivation-induced
brain damage and infinite loops, and lousy RTTs

Also, flush tx queues when reassociating with AP and when taking the
interface down.
1999-11-09 14:58:07 +00:00
scw
9cc52f53a8 Drop some #defines which are now in sys/disklabel.h. 1999-11-09 10:03:20 +00:00
haya
e54d837b8b Maintenance CardBus/PCI extension ROM mapping routine.
1. Make Extension ROM not to be mapped on I/O space.
2. Do not check the bus-space indicator in ROM register.
1999-11-09 09:20:30 +00:00
nisimura
2924b6835a Fix errors in sfb_copycols() of the forward (left-to-right) case. 1999-11-09 08:25:31 +00:00
oster
3949e74f78 If we have a choice: do not trust the parity disk for read
balancing in a RAID 1 set if we know that the parity might not
be up-to-date.  Thanks to Thor for bringing this to my attention.
1999-11-09 03:07:20 +00:00
marc
e1e554ac35 charles was on drugs. There's no such thing as #elifdef. 1999-11-09 02:25:33 +00:00
perseant
26c34e715f If ifile blocks were written before dirops were complete, and then the
system crashed, inodes could be allocated that were not referenced.  (Though
not a serious problem, it evidences itself in phase 4 of fsck_lfs.)  Fix
this by marking if_daddr with UNASSIGNED before the inodes are actually
written; at mount time the ifile is checked for UNASSIGNED entries and
any that are found are linked back into the free list.  (The latter
functionality should move into the roll-forward agent when it materializes.)
1999-11-09 02:21:05 +00:00
pk
560567d851 Include <sys/exec.h> instead of <a.out.h>/ 1999-11-08 23:29:56 +00:00
pk
a96dbfa190 Remove inclusion of unused headers. 1999-11-08 23:29:05 +00:00
joda
1b686307cb correct number of BAR:s in cardbus_cis_info 1999-11-08 20:21:24 +00:00
joda
fe2d79ec9a Let decode_tuples take function to call for each tuple, and use this
to get some vital information from the CIS (some network cards need
this to get the mac-address). This should be merged with the related
code for PCMCIA cards, but that requires more thought.
1999-11-08 20:19:10 +00:00
joda
dbb2685da6 add some bare-bones CIS information to the attach_args struct 1999-11-08 19:59:08 +00:00
joda
f6be3b394d regen 1999-11-08 19:57:32 +00:00
joda
19ff47781e copy xircom entries from pcidevs 1999-11-08 19:57:13 +00:00
mhitch
f4fa9aae9f When the framebuffer is closed, reset the keyboard. We don't know what the
X server may have done with the keyboard state.  X11R6 was changing the
keyboard modes, which were not compatible with the lk201 keyboard handling
in NetBSD.
1999-11-08 18:41:32 +00:00
sommerfeld
1cfdb728d0 avoid touching freed mbuf after allocation failure. 1999-11-08 15:56:16 +00:00
sommerfeld
66ab262b1c add a bunch of debug printfs under IFF_DEBUG and IFF_LINK2;
turn on IFF_DEBUG to trace the management protocol goo.
turn on IFF_LINK2 as well to see beacons.
1999-11-08 15:45:00 +00:00
sommerfeld
94bb856781 misc cleanups; seems to work a little better in a dense-AP environment now.
1) ignore probe requests rather than printing "unknown mgmt subtype"
	(cosmetic)
 2) don't panic if mget of the 2nd mbuf in a chain fails (patch from MCR)
	(though that whole function badly needs to be rewritten)
 3) be a little more tenacious about hanging on to an access point.
1999-11-08 13:24:00 +00:00
augustss
9cec807b1c Return -1 from wsmux_displayioctl() if no muxes components like the ioctl(). 1999-11-08 10:10:25 +00:00
mycroft
336e3613c3 Kill wsmux. DIE DIE DIE! 1999-11-08 06:17:42 +00:00
eeh
86667308d7 Implement sysctl machdep.booted_kernel. 1999-11-08 05:06:42 +00:00
eeh
5ce41ef1f2 Fix boot device detection code. 1999-11-08 05:05:26 +00:00
mycroft
fb17cb2665 Disable wsmux for now. 1999-11-08 04:50:30 +00:00
mycroft
0c1542d9a4 Apply wrstuden's stopgap change to make alpha/macppc X work without wsmux. 1999-11-08 04:48:18 +00:00
mhitch
8008907a4c && doesn't work very well for testing a flag - tcds_params() was always using
the baseboard ID and FAST settings instead of getting them from the TC option
card EEPROM.
1999-11-08 03:00:32 +00:00
mycroft
a1ec263481 Builds LKMs on PowerPC (although there are still some issues with loading
them).
1999-11-08 00:16:40 +00:00
thomas
938dcb33e9 Align IO and memory of PCI devices. 1999-11-07 22:23:05 +00:00