summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
1999-11-11Delay USB device attachment to prevent lost interrupts when probing uaudio.Hakan Olsson
1999-11-11USB Audio, from NetBSD (augustss@carlstedt.se). Imported by me and niklas@.Hakan Olsson
1999-11-11General cleanup of pmap.Artur Grabowski
- MACHINE_NONCONTIG will no longer work and all code that is not MACHINE_NEW_NONCONTIG is removed. - Kill the pv_table hack which adds complexity to the code and wastes some memory, let the vm "handle" the pv lists through the vm_physmem array, this makes allocation a lot easier. - kill the managed() macro, since it was only used to see if pvhead would end up in a "hole" in pv_table. - pvhead() is now a function that returns NULL if the page is unmanaged. It also takes a page number as an argument instead of the physical address, since in most cases pvhead was called as pvhead(ptoa(pa)) anyway and it did an atop internally.
1999-11-10Fix to use enoioctlConstantine Sapuntzakis
1999-11-10Fix typo in printfChris Cappuccio
1999-11-10include syscallnames only if compiling w/ SYSCALL_DEBUG.Michael Shalayeff
was already so for native and sunos, the rest was just wasting space on it. niels@ millert@ ok
1999-11-09Fix lengths of scsi cmdsAngelos D. Keromytis
1999-11-09Add SIOCSIFMEDIA and SIOCGIFMEDIA to the switch in ifioctl(). SIOCSIFMEDIATodd C. Miller
is only allowed if the user is the superuser. Aparently this got missed when the ifmedia support was added in ages ago. More or less based on how NetBSD does it (though it is rather obvious).
1999-11-09syncNiels Provos
1999-11-09neomagic 256avNiels Provos
1999-11-09Adapt to changed pmap_enter API (the extra argument is a no-op).Artur Grabowski
1999-11-09Adapt to pmap_enter changes.Artur Grabowski
1999-11-09Add OpenBSD tags.Dale S. Rahn
changes to boot on Apple iMac G3 (333). ethernet address changes Locore.c OpenBSD tag hack to delay decrementer exception until after bootload, apple OFW enables interrupts during "system calls" add OF_call_method, to make ofw call by name. Apple OFW can return unexpected values from getchar calls. alloc.c OpenBSD tag boot.c OpenBSD tag updated (but still unused load symbol code). Code cleanup for egcs. cache.c OpenBSD tag use dcbst, not dcbf icbi has both arguments as registers, not constant and register. net.c OpenBSD tag netif_of.c OpenBSD tag add "local-mac-address" to methods of fetching mac address, it can be stored in that variable or in mac-address. support dma buffers, add additional return value for OF_read for network timeout purposes. ofdev.c OpenBSD tag support dma buffers, ofdev.h OpenBSD tag add dmabuf remove MAC default kernel def. ofwmagic.S OpenBSD tag openfirm.h OpenBSD tag boot.mac/Makefile Build debug, - not used for version 3 apple openfirmware, ie imacs.
1999-11-09Remove old unused config files.Dale S. Rahn
IPX added to GENERIC, only because last released kernels were built that way.
1999-11-09Additional changes due to the fallout of the p4e -> ppc changes.Dale S. Rahn
1999-11-09Merge error in previous version caused compilation failure.Dale S. Rahn
Commit properly started and terminated.
1999-11-09add memset to list of files to build.Dale S. Rahn
1999-11-09autoconf.hDale S. Rahn
add mac hooks to the powerpc config structure, probably a hack, and certainly needs to be cleaned up. bus.h p4e_ -> ppc_X add write_multi and prototypes for bus_space_X_raw_multi functions. intr.h add structure for interrupt handler. pio.h remove the unnecessary and slowing "sync" instruction from each pio access. remove unnecessary newline characters from the generated asm. eieio after writes, but before reads. types.h formatting change vmparam.h change powerpc kernel virtual memory sizing from a fixed segment to a variable, initialized with a segment size, this is so that the pmap allocator can steal virtual memory, if vm is not yet set up. Necessary for mapping devices before the kernel vm structures are initialized.
1999-11-09in the ifdef POWERPC section, do use ppc, not p4e, for the iohandleDale S. Rahn
for the console configuration.
1999-11-09syncChris Cappuccio
1999-11-09Add Triones/Highpoint HPT343, HPT366Chris Cappuccio
1999-11-09autoconf.c:Dale S. Rahn
calculate delay time for delay() before it is acutally used. add support for md_diskconf come closer to supporting crashdumps, eventually this code should be un if 0 ed and supported. add the wd device as a supported device, fix some comments. clock.c: support calculation of delay loop earlier, do the spin loop correcly, unsigned math on the lower half, not signed math. conf.c: addd support for wd driver, block major 0, char major 11. machdep.c: bus_space_map becomes a real function, not just inlined function. Support devices that are not mapped with bats (most still currently are mapped with bats,...). BAT mapping does not allow proper mapping of cachable devices. mapiodev HACK, NEEDS TO BE REMOVED. added for quicker import of BROKEN mac drivers. the drivers NEED to be rewritten in a busified manner. it would FIX all of the endian swabbing done by each driver. (Is that emphasized enough?) bus_space_(read|write)_raw_multi as functions, should these be turned into inline functions and put in bus.h? ofw_machdep.c: removed extranious variable. openfirm.c: telling openfirmware to "boot" will put the system in somewhat of a strange state, try reset-all, but that typically fails, therefore, try OF_exit before spinning. pmap.c: support stealing memory from kernel address space so that mappings can be created before vm is initalized. vm_machdep.c: maybe the meaning of removing this will later become obvious. ???
1999-11-08Support for imac drivers, Additional configurations for mac kernels.Dale S. Rahn
Some mac drivers mentioned in the config files may not be be currently supported.
1999-11-08Changes for imac support. support for VI computers and MCG PowerstackDale S. Rahn
will need to be merged back in. Both are currently untested. mac interrupt support is currently a big hack and needs to be redesigned as part of the system, several of the mac drivers need busified also.
1999-11-08Initial import of NetBSD macppc code to allow OpenBSD/powerpc to runDale S. Rahn
on the imac computer, Additional hardware and driver support will follow. Initially wdc_obio support the imac (333Mhz) atapi cdrom and the ATA harddrive. also Bmac ethernet is supported at least at 10Mb.
1999-11-08move MI definition of rd into it's MI place also fixingMichael Shalayeff
attributes, allowing kernels to exist w/ rd as the only disk device. tested on a few archs; niels@ & millert@ ok
1999-11-07regen.Federico G. Schwindt
1999-11-07sigh, tag shouldn't be a comment in *devs.Federico G. Schwindt
1999-11-07sync with NetBSD.Federico G. Schwindt
1999-11-07regen.Federico G. Schwindt
1999-11-07oops. add OpenBSD tag.Federico G. Schwindt
1999-11-07New devices.Federico G. Schwindt
1999-11-07add APM powerhooks.Niels Provos
from NetBSD, Sat Jun 26 08:25:25 1999 UTC by augustss: Add powerhooks, i.e., the ability to register a function that will be called when the machine does a suspend or resume. XXX Will go away when Jason's kevents come to life.
1999-11-06make ramdiskB fitTheo de Raadt
1999-11-06move sea* to RAMDISKBTheo de Raadt
1999-11-06syncTheo de Raadt
1999-11-06I shortened these names ON PURPOSE. Do NOT make them long again!Theo de Raadt
1999-11-05MACHINE_NEW_NONCONTIG is now default even without uvm.Artur Grabowski
1999-11-05Since we no longer allocate the iommu page tables in pmap_bootstrap, we canArtur Grabowski
remove unavail_{start,end} and simplify the code in pmap_page_upload.
1999-11-05Move the allocation of iomme ptes to iommuattach (where it belongs).Artur Grabowski
1999-11-05ite screen blanker, set to 10 minutes by default.Marc Espie
(niklas@ finally looked at the code)
1999-11-05remove some #if 0 code that will never be enabled anywayArtur Grabowski
1999-11-05Commit to pcmciadevs (or any other *devs) should be done in two steps,Federico G. Schwindt
so the .h file always has the same revision number. Regen.
1999-11-05Add BayStack 650 FH 802.11 (from NetBSD)Angelos D. Keromytis
1999-11-05Fix ata_get_params on big endian platforms.Constantine Sapuntzakis
We have diverged from NetBSD in that wdc_exec_xfer no longer automatically swaps.
1999-11-05use wdc_input_bytes and wdc_output_bytesConstantine Sapuntzakis
1999-11-05The default network name is not "ANY", it's the empty string. I'veAngelos D. Keromytis
noticed that through personal use, double checked with NetBSD if_wireg.h
1999-11-05s/memset/bzero/; art@ okMichael Shalayeff
1999-11-05more stack direction fixes; art@ okMichael Shalayeff
1999-11-04Make sure bus mastering is enabled, from freebsd if_de.cChris Cappuccio