summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Use kern/kern_random.c.obrien2000-04-241-1/+0
|
* Disable the returning of "wedged" commands; this is wrong and needs to bemsmith2000-04-241-1/+8
| | | | rethought.
* Update the Tigon firmware to 12.3.21. This fixes a few bugs and adds supportwpaul2000-04-246-3626/+3638
| | | | for cards with 2MB of on-board SRAM.
* * Use sys/sys/random.h rather than a i386 specific one.obrien2000-04-2415-492/+12
| | | | | * There was nothing that should be machine dependant about i386/isa/random_machdep.c, so it is now sys/kern/kern_random.c.
* * Rewrite to use kobj(9) instead of hard-coded function tables.dfr2000-04-246-445/+635
| | | | | | | * Report link errors to stdout with uprintf() so that the user can see what went wrong (PR kern/9214). * Add support code to allow module symbols to be loaded into GDB using the debugger's "sharedlibrary" command.
* Remove a debugging define which I left by mistake.dfr2000-04-241-1/+0
|
* Cosmetic to make errors messages look similar.dmlb2000-04-241-4/+4
|
* Moved debugging definitions to a header file.dmlb2000-04-241-1313/+1042
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed NETBSDTX spares. Renamed a load of functions - specifcally start -> tx init has download, sj and assoc as sub-functions report_params and update params move to repparams/upparams Tidied up old #define's Got rid of old DPRINTF, made printf's RAY_PRINTF and panic's RAY_PANIC All code KNF Removed checking the ECF_TO_HOST area in ray_init - this gets hosed when someone updates/read a parameter from the card so causes unneeded grief. This required moving the tib check into ray_attach. Changed handling of interface flags in ioctl so that promiscous mode changes are only done as needed. Sequences of comq entries can be added to an array and automatically dealt with - used in ray_init_user and others. Moved IFF_RUNNING checks from the comq commands to com_runq - still not sure what to do so we PANIC - will be fixed. ray_sj now checks to see if any of the parameters it can update can be updated. ray_sj_done now updates parameters to the current n/w set if we changed them earlier. I was being a bit thick in earlier comments as to why this check was done - the ECF never changes the parameters. Assocication with APs is handled outside of ray_sj - need to add WEP stuff if I ever get my hands on an AP. ray_stop, ray_unload and ray_reset are currently broken - reset isn't used anyway. ray_tx_XXX and ray_rx only have cosmetic changes. Interrupt handler now gets command out of ccs. This is so ray_intr_ccs and ray_intr_rcs don't need to remap CM (I'm trying to roll things up a bit as it must be slowing us down). ray_intr_ccs just vectors commands to functions or error checks - a jump table could replace it in ray_intr. Ditto for ray_intr_rcs. mcast is currently broken - I need to do more work for ALLMULTI etc. This is reasonably easy to fix becuase of the comq array stuff. Added a few more checks into repparams so that it is firmware version aware. It also uses the new comq framework. Parameter updating is also much better with the update parameter return routine re-worked. Added a couple of runq entry helper functions - one that malloc's a new entry and fills it in with sensible defaults and another that adds and runs a seqencue of entries.
* Bit mask definitions for firmware versioning.dmlb2000-04-241-74/+89
| | | | | Added versioning info to the MIB sizes array so that both raycontrol and if_ray have a better chance of not sending duff data to the ECF.
* Initial import.dmlb2000-04-241-0/+126
|
* Make the moved about version compile and rundmlb2000-04-241-2/+6
|
* - Added support for 1bpp and 4bpp BMP files.yokota2000-04-242-136/+164
| | | | | | (PC98 part of the commit will follow.) Submitted (50%) by: Chiharu Shibata <chi@bd.mbn.or.jp>
* Fix the grammar in my previous commit "lose" -> "loss".mpp2000-04-241-1/+1
| | | | | | I should have done it that way in the first place. Pointed-out-by: bde
* implement settrigger according to speccg2000-04-233-27/+40
| | | | fixes for non-blocking mode
* maybe make cmi8330 work - no feedback yetcg2000-04-231-6/+19
| | | | implement bass/treble for yamaha opl-sax chips
* Fix a typo in the comments.mpp2000-04-231-1/+1
| | | | Submitted by: Allen Campbell <allenc@verinet.com>
* Disable PCI BIOS on PC-98.nyan2000-04-232-2/+6
|
* Sync with the following changes.nyan2000-04-233-3/+11
| | | | | | sys/boot/i386/libi386/Makefile 1.16 and 1.17 sys/boot/i386/loader/Makefile 1.44 sys/boot/i386/loader/main.c 1.20
* Hide annoying message under boot-verbose.phk2000-04-231-2/+3
| | | | | | | Fix Typo. Approved by: nyan Also: PR-18172
* Sync with sys/conf/options.i386 revision 1.135.nyan2000-04-231-3/+0
|
* Enforce and respect the 8 unit limit.phk2000-04-231-1/+3
|
* Sync with sys/i386/conf/GENERIC revision 1.252.nyan2000-04-232-2/+2
|
* A couple months ago, Kirk and I were doing a walkthrough of the radix-treewollman2000-04-233-157/+202
| | | | | | | | search routine, and scratching our heads over why it was so obfuscated. This delta fixes a number of confusing style bugs and renames several structure members to have more meaningful names. There remain a number of odd control-flow structures. These changes do not affect the generated code.
* Fix a warning with a forward struct declaration.wollman2000-04-231-0/+4
|
* Quiet an unused variable warning by commenting out a variable declarationgreen2000-04-222-2/+2
| | | | that goes with a commented out statement.
* Implement POSIX.1b shared memory objects. In this implementation,wollman2000-04-223-2/+32
| | | | | | | | shared memory objects are regular files; the shm_open(3) routine uses fcntl(2) to set a flag on the descriptor which tells mmap(2) to automatically apply MAP_NOSYNC. Not objected to by: bde, dillon, dufault, jasone
* - PC-98 uses IRQ2 too.nyan2000-04-224-4/+52
| | | | | | - Fixed the range of DMA channels on PC-98. Submitted by: "T.Yamaoka" <taka@windows.squares.net>
* Add $FreeBSD$.wollman2000-04-222-0/+34
| | | | | Initialize the POSIX.1b sysconf information appropriately for non-optional kernel functions.
* Release allocated resources and return ENXIO on error.nyan2000-04-222-14/+32
|
* Enable PnP attachment for parallel port controllers.wollman2000-04-222-12/+22
| | | | PR: 17495
* Changed interrupt level to splcam() because of the bs driver is CAM driver.nyan2000-04-221-2/+4
| | | | Pointed out: MITSUNAGA Noriaki <mitchy@er.ams.eng.osaka-u.ac.jp>
* Make sure the driver's ops table has been initialised before callingdfr2000-04-221-0/+5
| | | | static methods.
* Moved functions around so that they are grouped a little more sensibly.dmlb2000-04-221-1012/+1016
|
* initsd(): Complete the intention of revision 1.25 and write init data to disk.grog2000-04-221-5/+6
| | | | Sleuthwork-by: alfred
* - Fix a problem with the cdevsw struct that prevented the kernel frommdodd2000-04-223-55/+52
| | | | | | | | | booting on a RAID volume. - Change 'id_foo' and 'idfoo' to 'idad_foo' and 'idadfoo'. This makes names more consistent with the devices that the code belongs to (more in line with the style used in the amr/mlx driver.) Reviewed by: jlemon
* Convert the magic MFS device to a VCHR.phk2000-04-222-7/+5
| | | | Detected by: obrien
* There's no reason to make "file" 0500 rather than 0555.green2000-04-222-2/+6
|
* Welcome back our old friend from procfs, "file"!green2000-04-226-38/+310
|
* Move the declaration of "struct namecache" to vnode.h, as it can be usefulgreen2000-04-222-17/+18
| | | | | elsewhere. Note, of course, that in an ideal world nothing should need to see our VFS implementation :-/
* Reoganize/update the SysKonnect driver:wpaul2000-04-229-322/+1030
| | | | | | | | | | | | | | | | | | - Break out the support for the XMAC II's PHY into an miibus driver. - Reorganize the probe/attach stuff using newbus. Each XMAC is now attached to the parent GEnesis controller using newbus. This is necessary since each XMAC must also have an attached miibus, and the miibus read/write register routines need to be able to get at the softc struct for each XMAC, not the one for the parent controller. This allows me to get rid of the grotty code I added for selecting the unit numbers for the ifnet interfaces: the unit numbers are now derived from the newbus-assigned unit numbers, which should track with the ifnet interface numbers. I think. At the very least, there should never be any collisions. - Add support for the SK-9821 and SK-9822 1000baseTX adapters. Special thanks to SysKonnect for loaning me two adapters for testing.
* Add PHY drivers for the XMAC II's internal PHY and the Broadcom BCM5400wpaul2000-04-224-0/+1138
| | | | | 1000baseTX PHY. These will be used by the SysKonnect gigabit ethernet driver shortly.
* Regeneratewpaul2000-04-221-2/+10
|
* Add entries for the XMAC II's internal PHY and the Broadcom BCM5400wpaul2000-04-221-1/+7
| | | | 1000baseTx PHY.
* Move the building of the PXE module into libi386.ps2000-04-212-3/+6
|
* Now that we fixed the isp_sendmarker botch, we can now do initial busmjacob2000-04-211-4/+1
| | | | | resets for ULTRA2/ULTRA3 cards again (which were turned off really because of a botch for dual bus configurations).
* IOCGIFCONF once and for all. Sometimes the ifc_len variableguido2000-04-211-5/+2
| | | | | | | | | would be returned with a wrong value. While we're here, get rid of unnecessary panic call. PR: 17311, 12996, 14457 Submitted by: Patrick Bihan-Faou <patrick@mindstep.com>, Kris Kennaway <kris@FreeBSD.org>
* Functional driver with new command queue in place.dmlb2000-04-211-1278/+1068
| | | | | | | | | | | | | | | | | | | | | | | Working download and start/join network. What's nice is that I didn't touch TX or RX code at all. Not fully done yet - stubs for assoc, cast, promisc and user param updating. I can't work out the "nicest" way to get the mcast and promisc interactions sorted without needing to abort runq commands half way through. And, as mcast/promisc used elsewhere I want to get this right. Other stuff Fancy new debugging with __FUNCTION__ and __LINE__. Lots of panic's inserted until I check some stuff out. Removed all of the old scheduler. Removed start join timeout as I don't need it. Removed the promiscuous broadcast code that waas ifdef'd out. New CCS allocation
* Fix include paths so that this builds correctly.msmith2000-04-219-9/+9
| | | | Submitted by: Mike Pritchard <mpp@mppsystems.com>
* Make the loader a little smarter about when it is and is not allowedps2000-04-211-3/+8
| | | | to call PXE.
* Don't call the PXE cleanup routine if PXE is not enabled. Thisps2000-04-211-2/+8
| | | | should fix the "Invalid partition table" error people were seeing.
OpenPOWER on IntegriCloud