Commit Graph

103376 Commits

Author SHA1 Message Date
soren fc9a318a07 Avoid noise on kbd-less machines. 2002-10-04 03:40:29 +00:00
junyoung 8ab9e2ef57 Use single movl instruction rather than pushl/popl pair. 2002-10-04 03:20:59 +00:00
junyoung 8b656df79c Remove unnecessary code. 2002-10-04 03:17:37 +00:00
itojun 8f0eabf697 whitespace 2002-10-04 03:17:00 +00:00
itojun dfea6e4344 add missing "rnd.h" include - noted by simonb 2002-10-04 02:37:23 +00:00
itojun 173446ddd0 use cast to unsigned long long, instead of PRIu64
(to make it easier to move the change back to main openssh distribution)
2002-10-04 02:22:05 +00:00
thorpej 24e419709e Note cfattach changes. 2002-10-04 01:54:47 +00:00
thorpej d90d300b7b Overhaul the way cfattach structures are looked up. The cfdata entry
now carries the name of the attachment (e.g. "tlp_pci" or "audio"),
and cfattach structures are registered at boot time on a per-driver
basis.  The cfdriver and cfattach pointers are cached in the device
structure when attached.
2002-10-04 01:50:53 +00:00
matt 44bc4ef4a9 Ansify's (use prototypes). 2002-10-04 00:50:15 +00:00
onoe f383b2e780 Set IEEE80211_F_IBSSON before test in wi_init() to set CREATE_IBSS
correctly for Lucent firmware to work with IBSS mode.
PR 18520
2002-10-03 22:32:37 +00:00
mycroft 4172074119 Skip the lazy PLT relocation if relocbase==0 (useful if libraries are loaded
at their VMA address).
2002-10-03 20:39:22 +00:00
mycroft 7a48cdb883 As seen on tech-userlevel...
There are several optimizations here:

1) Objects on _rtld_list_main do not participate in the DAG structures
   at all.  This is okay because all symbols must be resolvable at
   link/load time, and _rtld_list_main is always searched first, so
   any references from those objects must necessarily be resolved to
   other objects on _rtld_list_main.

   (Making this work completely required setting obj->main a bit
   earlier; hence the RTLD_MAIN hack.)

2) Objects on _rtld_list_main are not put on _rtld_list_global,
   preventing an extra search.

3) A bit is used to keep track of whether an object is on
   _rtld_list_global, so we don't have to do a silly linear search.

4) A small attempt is made to prevent objects being put on the DAG
   lists multiple times (using a silly linear search).

The sum of this appears to be a ~10% (.3s) reduction in Mozilla's
startup time on my 800MHz box.

Also, make sure _rtld_objmain->path is always set, just to make the
debug output nicer.
2002-10-03 20:35:19 +00:00
thorpej 1a5a7fe7b7 Use indirect configuration for on-board devices (i.e. those things
attached to "obio") on the IQ80310 and IQ80321.  It makes more sense
to do it this way for this type of system (the goal being to encapsulate
as much information about the board as possible into one file).
2002-10-03 20:14:58 +00:00
thorpej cea0a147b4 Add macros to convert an "IRQ" number to its respective XINT3/XINT0 bit. 2002-10-03 20:11:42 +00:00
thorpej 072eedb728 Add a symbolic constant for where external interrupts start. 2002-10-03 20:10:40 +00:00
fvdl 547337a4ce FIx off by one error for brand id array index. 2002-10-03 19:39:51 +00:00
elric 70bf1b763b prepend syscall_fancy and syscall_plain with mach_ to get this to compile
again.
2002-10-03 19:17:01 +00:00
uwe fbcf88f171 Add wscons. Misc catch-up with GENERIC. 2002-10-03 17:45:20 +00:00
uwe fa76f154c6 Add majors for wscons devices.
And, no!  This does not mean that sparc switches to wscons.
Only Krups has experimental wscons support so far.
2002-10-03 17:06:18 +00:00
uwe 7235b5d479 First cut at PS/2 keyboard and mouse drivers that talk Sun firm events.
Console and Xsun for Mr.Coffee.
2002-10-03 16:27:04 +00:00
uwe fb2195ae8f Search children of the "8042" node to check if keyboard is the stdin. 2002-10-03 16:22:46 +00:00
uwe 191626f788 Refactor kbd and mouse drivers so that they can use different middle
layers.  Common middle layer shared by kbd_zs and sunkbd is moved into
the new file.  Move shared config directives to files.sun and adjust
ports' files.* accordingly.

Need this to support console/Xsun on Mr.Coffee JavaStation.

Tested on sparc, sparc64 (by martin) and sun3 (by jdc).
2002-10-03 16:13:24 +00:00
fvdl 4eb09bb2aa Make shared IRQs for the normal PIC case work again as they did before
the MP merge (i.e. treat them as having the lowest level of all registered
handlers in the chain for the IRQ).
2002-10-03 15:58:56 +00:00
wiz 09cbac4e7f New sentence, new line. From Robert Elz. 2002-10-03 15:41:44 +00:00
jdolecek ab5d2d743d add kqueue subdir, commented out for now 2002-10-03 07:51:10 +00:00
jdolecek 28c37e673e Basic set of kqueue tests for various filters. Most of files based
on code written by Luke Mewburn.
These need to be compiled with kqueue headers and kqueue-enabled libc.
2002-10-03 07:46:02 +00:00
petrov 31b9b01a31 use PRIu64 for u_int64_t. 2002-10-03 07:41:10 +00:00
lukem e103106547 enable -o append for alpha as well 2002-10-03 07:28:33 +00:00
lukem ba51c8dc18 alpha also supports append & sunsum 2002-10-03 07:27:50 +00:00
jdolecek 1798df2a86 COMPAT_43 getdirentries(2) actually has u_int 'nbytes' argument 2002-10-03 06:17:33 +00:00
lukem 454998fc21 correct comment 2002-10-03 05:31:25 +00:00
lukem d864e0371d revert part of previous;
alpha installboot still needs to come after everything else, because non of
the other installboot(8) backends support recalculating the alpha checksum
(yet).
2002-10-03 05:26:49 +00:00
itojun 61cb1d92bc backout previous; (u_int) cast makes checks negative case too 2002-10-03 05:18:59 +00:00
itojun b8e0e408a4 check negative arg. from openbsd 2002-10-03 04:57:39 +00:00
itojun 77e92cfb1e check negative arg. from openbsd 2002-10-03 04:52:51 +00:00
lukem a50326b0d6 - create ${IMAGEDIR}/${image}.contents, with the files from BASE_PORTS.${image}
(could be extended )
- move alpha installboot above pmax/vax; it doesn't need to be last anymore
- cosmetic tweaks
2002-10-03 03:58:56 +00:00
itojun 29ef0d0d98 more strict checking on command invocation.
http://www.sendmail.org/smrsh.adv.txt, NetBSD PR 18516
2002-10-03 03:31:46 +00:00
uwe 50de7c9595 If we don't get record drq from pnpbios, set it to play drq.
Otherwise attaching half-duplex device will trigger panic.
NB: ad1848_isa_get_props should probably check for recdrq == -1 as well.
2002-10-03 03:02:11 +00:00
lukem adbaddc918 Enable GLOB_BRACE for ftpd.conf(5)'s `notify' directive.
Now it's much easier to list multiple files...
2002-10-03 02:56:47 +00:00
thorpej 0c1efadb23 Include <sys/param.h> so that we get the defn of NULL. 2002-10-03 01:57:24 +00:00
thorpej e411f68839 Fix debug printf format. 2002-10-03 01:42:43 +00:00
thorpej dd14964387 Fix script-o. 2002-10-03 01:29:30 +00:00
lukem e6a1674482 Don't build this on mipseb or mipsel, as crunchgen(1) doesn't work correctly
on those, no fix has been forthcoming, and users are getting antsy.

This allows "make build" to complete; "make release" will still fail in the
sets generation.  Maybe *that* will inspire a MIPS/toolchain guru to fix
crunchgen(1)...
2002-10-03 01:11:37 +00:00
mycroft f66c66a92c Do not put objects on _rtld_list_main on any DAG member list -- any symbol we
will have already been found during the _rtld_list_main walk, so there's no
point in doing it again.
2002-10-03 01:09:21 +00:00
oster 9fbf5b5d27 Create a thread creation macro that make it easier to name the DAG process.
Use it to have the DAGExecutionThread have a better name for each RAID
process ('raid0', 'raid1', etc., vs. just 'raid', 'raid', etc.)
2002-10-02 21:48:00 +00:00
jdolecek 47ae4d5c59 remove local declaration of iwm_cd and fd_cd for LKM case; it's superfluous
and doesn't even compile after latest autoconf changes
2002-10-02 20:35:28 +00:00
rearnsha 16c4b46282 Revert previous change. GENERIC already has an sb* at isapnp? 2002-10-02 20:33:44 +00:00
jdolecek 2bbadb1fa6 make ha_name const 2002-10-02 20:21:32 +00:00
jdolecek c802e99987 make ka_name const 2002-10-02 20:21:01 +00:00
jdolecek a38b5eed0e adapt to latest dev/ic/wi* changes 2002-10-02 20:13:48 +00:00