Commit Graph

55568 Commits

Author SHA1 Message Date
simonb
67c33ffcda Remove two shadowed variables, one of which was set to what it was
shadowing(!) and the other a temporary variable (as was it's shadow).
Code generated with "gcc -O2" is the same before and after.
2002-05-07 02:02:41 +00:00
uwe
c38dba996a lint target depends on ${LINTSTUBS}, not on (nonexistent) ${KERNLINTSTUBS}. 2002-05-07 02:00:17 +00:00
uwe
8107633e20 bus space methods should be "static __inline__", not "extern __inline__".
Otherwise an unoptimized kernel cannot be linked.  Reviewed by pk.
2002-05-07 00:37:47 +00:00
eeh
2a4ecb6335 Add a flag for ofpci to let psycho chose between pci and ofpci. 2002-05-06 22:41:10 +00:00
eeh
d87653c0d2 Switch to ofpci. 2002-05-06 22:34:40 +00:00
eeh
91c28a3626 Add code to attach ofpci. 2002-05-06 22:29:22 +00:00
chris
c419c08421 Regenerate for Netgear FA411. 2002-05-06 22:28:18 +00:00
chris
b72d0938bb Add in Netgear FA411. 2002-05-06 22:26:48 +00:00
eeh
ba4db702d5 Recognize `ofpci' as a PCI bus. 2002-05-06 22:20:57 +00:00
eeh
19fcb9e555 Fix printing during attach and get rid of pci_cd that's provided by the linker. 2002-05-06 22:20:07 +00:00
eeh
24954ac8ae Add ofpci_make_tag(). 2002-05-06 22:18:51 +00:00
eeh
2ec18b07b9 Provide pci_cd if needed. 2002-05-06 22:12:43 +00:00
eeh
822aeae880 Note ofpci and ofppb. 2002-05-06 22:11:50 +00:00
jdolecek
05d0665f1c rename memory_disc_size to md_root_size, so that kernels without
MEMORY_DISK_ROOT_SIZE option link
also make local md_root_size size_t

XXX is the load_memory_disc_from_floppy() stuff actually still being used?
2002-05-06 21:18:25 +00:00
eeh
1805506872 Add ofpci and ofppb. 2002-05-06 19:48:05 +00:00
eeh
e60dcd0a0b Add ofppb to match ofpci. 2002-05-06 19:40:20 +00:00
eeh
509fa464af Add the ofpci driver. 2002-05-06 19:39:51 +00:00
eeh
5d47d866f7 Only put interrupts into the list for that interrupt level if the handler
is not shared.  Otherwise put the shared interrupt dispatcher in the list.
2002-05-06 19:19:48 +00:00
bouyer
f23186dae7 Don't return an error for "Not Ready To Ready Transition (Medium May Have
Changed)" and "Power On, Reset, or Bus Device Reset Occurred" senses, if
we're trying to open the device.
2002-05-06 13:43:57 +00:00
takemura
8178b68188 Added ukphy to use USB ethernet adopters. 2002-05-06 13:42:29 +00:00
lukem
b26614a4af s,<dev/sun/sun_boot.h>,<sys/bootblock.h>, 2002-05-06 13:35:17 +00:00
lukem
3777b83a3f <sys/bootblock.h> is a better name than <sys/bootinfo.h> 2002-05-06 13:32:19 +00:00
lukem
e8bbb685d9 Replace <dev/sun/sun_boot.h> with <sys/bootinfo.h>, which is intended
to be more generic than ``bbinfo definitions for Sun-based systems''.
Other platforms can store bbinfo-style information here, and possibly
other platform-specific boot information that needs to be accessible
by foriegn platforms in tools such as /usr/sbin/installboot.
2002-05-06 05:27:53 +00:00
enami
59a79c7928 Remove wrong assertion in previous commit. 2002-05-06 03:20:54 +00:00
uwe
73843c4a73 Comment change only. Update the version of GENERIC this config is
synced with.
2002-05-06 02:04:14 +00:00
lukem
e27890b7d9 fix previous more correctly; MAXBLOCKNUM was replaced by SUN68K_BBINFO_MAXBLOCKS 2002-05-06 01:25:11 +00:00
ad
5d6cd5914c Put back a missing brace. 2002-05-06 00:48:58 +00:00
enami
8876669f4c Since npages may includes number of pages behind us, we can't use it to
update current offset.  Instead, use the last page in the run of pages
to calculate new offset.
2002-05-06 00:42:22 +00:00
enami
e6513c283e Stylistic change; introduce new local variable and use it instead of
sprinkling different expression to test if we're pagedaemon.
2002-05-06 00:18:15 +00:00
enami
cfa571e2e2 The per nfsnode n_commitlock is a sleep lock, but we can't sleep if
PGO_LOCKED getpages request.  So, just make the lock fail and tell
the caller that there is no pages available if we can't acquire it.
The caller will call us again soon without PGO_LOCKED.  Reviewed by chuq.
2002-05-06 00:07:51 +00:00
gmcgarry
5a1f9fc69c 400-series machines only have DIO framebuffers. From discussion
with Michael Lorenz and Bernd Sieker.
2002-05-05 22:55:49 +00:00
jdolecek
f1a07a4001 no manpages here 2002-05-05 22:09:05 +00:00
jdolecek
093d8bdbdd Put the contents inside #ifdef _KERNEL, similarily to mac68k one,
so that the innards are not exposed to userland.
2002-05-05 22:07:59 +00:00
jdolecek
628a2b8665 Get ctrlsp.S via .PATH directive, rather than adding full path
to SRCS. This should fix build problem with ro source tree.
2002-05-05 20:38:48 +00:00
jdolecek
9eed164863 remove redundant (and wrong) main() prototype 2002-05-05 20:11:37 +00:00
tsutsui
92896ac2a1 Add a null asm statement in adb_read_date_time()
to avoid wrong reordering by gcc-2.95.3 with -fgcse.

XXX Should we disable -fgcse everywhere?
2002-05-05 18:36:03 +00:00
tsutsui
87ebd3218c Backout previous. It is not timing problem, but gcc optimization bug. 2002-05-05 18:29:06 +00:00
jdolecek
8b225b8ff7 also don't make the machine symlinks for 'clean' target
move the CLEANFILES update out of the .if, so that the files get removed
  for 'clean' or 'cleandir'
2002-05-05 17:11:41 +00:00
chs
e926e6ec99 use the correct size when zeroing an array. 2002-05-05 17:01:41 +00:00
chs
dcc6963777 for softdep vnodes, always write together the pages for any block that
might have a dependency , since the accounting doesn't work otherwise.
fixes PRs 15364 16336 16448.
2002-05-05 17:00:06 +00:00
jdolecek
f2f12a240b Update to md(4) changes: memory_disk_size is now md_root_size, and
type is size_t
2002-05-05 16:26:30 +00:00
chs
988df8394c look in the right flags field for PQ_INACTIVE.
make uvmpd_scan_inactive() return void since its return value is ignored.
2002-05-05 16:26:17 +00:00
jdolecek
db6fc29f1c avoid unnecessary use of MAXBLOCKNUM (which is not defined here) 2002-05-05 16:02:24 +00:00
jdolecek
4dd6651e00 CLEANFILES should be set regardless of target 2002-05-05 15:57:15 +00:00
jdolecek
b9308c4120 also don't do the machine symlinks for 'cleandir' target 2002-05-05 15:42:26 +00:00
jdolecek
806100bb55 Don't make the machine symlinks for 'cleandir' target either. This
should fix read-only source builds.

XXX Perhaps the condition should be changed to
XXX .if make(depend) || make(all) || make(dependall)
XXX similarily to bsd.kmod.mk?
2002-05-05 15:30:05 +00:00
bouyer
58e5d90faa Don't disable TARF_TAG when the 1010 workaround is active, otherwise
the target won't do tagged queuing again after e.g. a bus reset.
Just report to scsipi that we can't do tagged queuing.
2002-05-05 15:23:22 +00:00
bouyer
df3d2c7ac3 If periph->periph_callout is already active, don't freeze the periph again:
scispi_periph_timed_thaw() will be called only one time anyway.
2002-05-05 15:16:30 +00:00
isaki
9c4195c510 libsa/Makefile: Fix rules to create symlinks on read-only source tree.
{boot,libsa,mboot}/Makefile, Makefile.booters:
 move that common rule to Makefile.booters
2002-05-05 11:46:29 +00:00
martin
9f680534b0 Add strtoul. 2002-05-05 11:23:24 +00:00