atatat
2bf2c362fb
The bridge(4) pseudo-device no longer requires the port to
...
__HAVE_GENERIC_SOFT_INTERRUPTS, so add it back to all GENERIC configs.
2001-11-23 05:00:22 +00:00
lukem
03aef4723c
cleanup:
...
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""
2001-11-20 12:56:17 +00:00
matt
3ae5a183aa
Fix boot device selection when booting from an alias. If the bootpath
...
isn't an OFW device, look it up in /aliases and substitute the bootpath
found into the string. This allow device_register to do it's thing.
Key off the drive number, not the channel, in autoconf.c. Closes PR#13756.
2001-11-19 23:22:48 +00:00
soren
662f877587
MAXSLP is defined to be a machine-independent scheduling parameter,
...
so move it into sys/param.h.
2001-11-15 18:06:11 +00:00
matt
b0372f6f25
Add brgphy
2001-11-14 21:25:15 +00:00
matt
a6d8d89acf
Bump the default macppc MSGBUFSIZE to 12KB so we can get an entire
...
sequence of boot messages.
2001-11-14 20:55:34 +00:00
tv
5489b30b60
${MAKE} print-objdir -> ${PRINTOBJDIR}
2001-11-14 00:58:48 +00:00
augustss
b684acbf39
Add wsmux (it seems to work now).
2001-11-13 17:56:30 +00:00
augustss
c64847f048
If the RTC gives a time more than 1000 days before file system time then
...
use the file system time. (My iMac seems to give 1904 as the year very
often (dead battery?), and setting the correct date with ntpdate doesn't
seem to work.)
2001-11-10 15:37:40 +00:00
scw
45e7238a02
Bump the version numbers of all bootloaders which use loadfile_elfXX() now
...
that it tries hard to avoid backwards seeks.
2001-11-09 19:53:11 +00:00
tsutsui
064be15283
Use common macro to check message length.
2001-11-04 12:03:41 +00:00
itohy
e8ba741b16
Add mpu at cmpci and opl at cmpci attachment.
...
I always test it on alpha, and add cmpci entries to alpha config files.
2001-11-04 07:39:40 +00:00
tsutsui
f88a1097c3
Add trm at pci.
...
BTW, should we also add it into INSTALL?
I guess there is no trm adapter which has Openfirmware..
2001-11-03 17:16:17 +00:00
thorpej
e727e3f180
Split elf32 vs. elf64 handling in loadfile(), including support for
...
each separately and explicitly. BOOT_ELF is now BOOT_ELF32 and
BOOT_ELF64, and ELFSIZE should no longer be defined in loadfile_machdep.h.
2001-10-31 17:20:45 +00:00
manu
6d572de955
Added character devices #60 and #61 to chrtoblktbl[]. They were missing,
...
and it introduced problems (EBUSY error when opening the driver for
writing in securelevel >= 1, plus manipulating some unitialized data at
the end of chrtoblktbl[])
2001-10-28 17:11:56 +00:00
jmc
51e607ae23
Add nb_progname so this will compile on older NetBSD systems that will be
...
upgrading to -current via the new toolchain build process eventually.
2001-10-20 06:14:30 +00:00
augustss
1339e88a86
Add a new optional method, dev_ioctl, to the audio hardware driver interface.
...
It is called when an unrecognized ioctl() is performed on a device,
thus allowing ioctl()s that frob the hardware driver (like loading
microcode).
2001-10-03 00:04:47 +00:00
mycroft
9463168fe5
Use WSKBD_TYPE_ADB.
2001-10-02 21:05:39 +00:00
wiz
4c99916337
va_{start,end} audit:
...
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
tv
ab11c169b5
objcopy -> ${OBJCOPY}; remove redundant definitions of OBJCOPY?= (it is
...
now in bsd.own.mk).
2001-09-22 03:34:17 +00:00
wiz
55fbb5ff57
Grammar improvements in comments.
2001-09-16 16:40:44 +00:00
wiz
456dff6cb8
Spell 'occurred' with two 'r's.
2001-09-16 16:34:23 +00:00
manu
24838b2b54
Enabled the clockctl device for macppc, major 61
2001-09-16 07:21:32 +00:00
nathanw
958ea7b111
Add the PCI device.
2001-09-14 21:14:08 +00:00
nathanw
32b0166603
Return ~0 for all config space reads on devices < 11 on the primary bus,
...
rather than returning ~0 for PCI_ID_REG and panicing otherwise.
2001-09-14 21:04:58 +00:00
manu
dea90b1ed2
Linux emulation is no longer experimental, removed comment
2001-09-12 21:05:37 +00:00
chris
0e7661f023
Update pmap_update to now take the updated pmap as an argument.
...
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.
Currently this is a no-op on most platforms, so they should see no difference.
Reviewed by Jason.
2001-09-10 21:19:08 +00:00
bouyer
a4638cc6d5
Properly initiatize sc->sc_wdcdev.set_modes for non-DMA controllers.
2001-09-09 16:08:49 +00:00
atatat
5f25c01eff
Comment out bridge pseudo devices from ports that don't
...
__HAVE_GENERIC_SOFT_INTERRUPTS. bridge(4) doesn't compile there.
2001-09-01 23:08:40 +00:00
atatat
97c67a9bae
Add bridge pseudo devices to GENERIC configs
2001-09-01 21:52:23 +00:00
briggs
c50646a1f3
Add adw
2001-08-29 17:37:47 +00:00
eeh
228006bcc3
Add the driver for the LMC WAN adapter.
2001-08-27 18:52:09 +00:00
matt
550ffff41b
Make all powerpc ports use a common Makefile.powerpc (except walnut)
...
Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports.
Split out macppc cpu support and make common to mpc6xx ports. Make
other mpc6xx ports use it. Add evcnts for mpc6xx traps.
2001-08-26 02:47:33 +00:00
tsubai
e20342e78d
Fix a bug introduced when machine_type.h was removed.
...
Now the kernel can read symbol table again.
2001-08-23 14:17:27 +00:00
matt
ae5ab93687
Add 7450 recognization. 7450s use NAP mode. print out HID0 register
...
contents.
2001-08-22 21:09:05 +00:00
hubertf
5366e197e2
More comment changes: 90x[B] -> 90x[BC]
2001-08-22 15:39:04 +00:00
tsubai
b1d1120084
Search "/netbsd.gz" and "/netbsd.macppc" in addition to "/netbsd".
2001-08-13 15:38:11 +00:00
jdolecek
74954dadf9
use unsigned variable types as appropriate
2001-08-05 18:07:51 +00:00
tsubai
3070e77046
Remove (#if 0'ed) m68k asm codes.
2001-08-03 23:09:42 +00:00
tsubai
b51ccd5322
Cosmetics.
2001-08-03 12:58:38 +00:00
tsubai
b1919bc716
Add bmtphy.
2001-08-03 12:56:55 +00:00
bouyer
f7c2f13a54
Properly setup timings for ata-4 controllers, including UDMA modes.
...
Tested on a brand new ("dual USB ?") ibook.
2001-08-02 12:41:39 +00:00
bjh21
ad2c12a28d
Bump version numbers of all bootloaders that use loadfile/ELF, to account for
...
my changes to symbol loading. I should probably have done this at the time,
but it's better late than never.
2001-08-02 12:24:05 +00:00
mjl
ab94842af6
Add rnd entropy gathering.
2001-07-26 21:31:45 +00:00
tsubai
1b3871ef0f
Change description of handler-ID == 195.
2001-07-26 11:36:40 +00:00
tsubai
bacce8fb4c
Fix a warning when compiled w/o DDB.
2001-07-26 11:23:37 +00:00
bouyer
21bcee4ec1
Return() if piomode == -1 (i.e. we have no drives), avoid reading an array with
...
a negative offset.
Thanks to Andrew Cagney for pointing this out.
2001-07-25 20:26:33 +00:00
wiz
c5a6be17f4
bcopy -> memcpy, bzero -> memset, bcmp -> memcmp.
...
Reviewed by Matt Thomas, ok'd by Tsubai Masanari.
2001-07-22 11:29:44 +00:00
thorpej
babefc5331
Add BUS_DMA_READ and BUS_DMA_WRITE flags, that hint the back-end
...
at dmamap load time that the mapping will be used for a unidirectional
transfer of the specified direction.
2001-07-19 15:32:10 +00:00
matt
b499a7d558
Add -Wno-main since this is a standalone program.
2001-07-18 05:37:55 +00:00