summaryrefslogtreecommitdiffstats
path: root/sys/pc98
Commit message (Collapse)AuthorAgeFilesLines
* Change the clear_ret argument of get_mcontext() to be a flags argument.marcel2003-11-092-4/+4
| | | | | | | | | | Since all callers either passed 0 or 1 for clear_ret, define bit 0 in the flags for use as clear_ret. Reserve bits 1, 2 and 3 for use by MI code for possible (but unlikely) future use. The remaining bits are for use by MD code. This change is triggered by a need on ia64 to have another knob for get_mcontext().
* - Implement selwakeuppri() which allows raising the priority of atanimura2003-11-091-1/+1
| | | | | | | | | | | | | thread being waken up. The thread waken up can run at a priority as high as after tsleep(). - Replace selwakeup()s with selwakeuppri()s and pass appropriate priorities. - Add cv_broadcastpri() which raises the priority of the broadcast threads. Used by selwakeuppri() if collision occurs. Not objected in: -arch, -current
* Include machine/asmacros.h instead of machine/asm.h.nyan2003-11-052-2/+2
| | | | Submitted by: bde
* Removed reference to the garbage (and soon to be deleted) optionbde2003-11-051-1/+0
| | | | DPT_ALLOW_MEMIO.
* 'options APIC_IO' is replaced by 'device apic'.nyan2003-11-041-2/+2
|
* 'options APIC_IO' is replaced by 'device apic'.nyan2003-11-041-1/+1
|
* MFi386: revision 1.206nyan2003-11-043-498/+39
|
* MFi386: revision 1.580nyan2003-11-042-24/+78
|
* Split pc98 support into pc98/pc98/nmi.c.nyan2003-11-042-0/+156
|
* MFi386: revision 1.579.nyan2003-10-312-28/+20
|
* Merged from sys/isa/syscons_isa.c revision 1.24.nyan2003-10-312-0/+8
|
* MFi386: revision 1.578.nyan2003-10-312-16/+2
|
* MFi386: revision 1.577.nyan2003-10-192-18/+34
|
* Eliminate use bio_blkno.phk2003-10-182-40/+18
|
* Discontinue bio_blkno usage.phk2003-10-182-6/+1
|
* MFi386: revision 1.576.nyan2003-10-112-12/+0
|
* Merged from sys/dev/sio/sio.c revisions from 1.405 to 1.414.nyan2003-10-052-308/+274
|
* MFi386: revisions 1.572, 1.573 and 1.574.nyan2003-10-052-4/+16
|
* MFi386: revision 1.205nyan2003-10-053-3/+438
|
* OK, I messed up /dev/console with what I had hoped would be compatphk2003-09-262-32/+42
| | | | code. Convert remaining console drivers and hope for the best.
* Typo in last commit: missing ')'phk2003-09-262-2/+2
|
* Change fb_attach() and fb_detach() to take a integer unit number ratherphk2003-09-262-2/+2
| | | | | | than a dev_t. All of the dev_t's passed were bogusly created with makedev()
* Implement the bus_space_map() function to allocate resources and initializenyan2003-09-232-0/+16
| | | | a bus_handle, but currently it does only initializing a bus_handle.
* Merged from sys/isa/fd.c revisions 1.259 and 1.260.nyan2003-09-182-30/+34
|
* Merged from sys/isa/fd.c revision 1.258.nyan2003-09-132-12/+12
|
* MFi386 revisions 1.570 and 1.571.nyan2003-09-112-52/+46
|
* MFi386: revision 1.204.nyan2003-09-113-6/+54
|
* MFi386: revision 1.1093.nyan2003-09-111-1/+3
|
* Merged from sys/isa/fd.c revisions 1.252, 1.253, 1.254, 1.255 and 1.257.nyan2003-09-112-16/+72
|
* Sort 'bge' correctly.obrien2003-09-101-1/+1
|
* Take the support for the 8139C+/8169/8169S/8110S chips out of thewpaul2003-09-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rl(4) driver and put it in a new re(4) driver. The re(4) driver shares the if_rlreg.h file with rl(4) but is a separate module. (Ultimately I may change this. For now, it's convenient.) rl(4) has been modified so that it will never attach to an 8139C+ chip, leaving it to re(4) instead. Only re(4) has the PCI IDs to match the 8169/8169S/8110S gigE chips. if_re.c contains the same basic code that was originally bolted onto if_rl.c, with the following updates: - Added support for jumbo frames. Currently, there seems to be a limit of approximately 6200 bytes for jumbo frames on transmit. (This was determined via experimentation.) The 8169S/8110S chips apparently are limited to 7.5K frames on transmit. This may require some more work, though the framework to handle jumbo frames on RX is in place: the re_rxeof() routine will gather up frames than span multiple 2K clusters into a single mbuf list. - Fixed bug in re_txeof(): if we reap some of the TX buffers, but there are still some pending, re-arm the timer before exiting re_txeof() so that another timeout interrupt will be generated, just in case re_start() doesn't do it for us. - Handle the 'link state changed' interrupt - Fix a detach bug. If re(4) is loaded as a module, and you do tcpdump -i re0, then you do 'kldunload if_re,' the system will panic after a few seconds. This happens because ether_ifdetach() ends up calling the BPF detach code, which notices the interface is in promiscuous mode and tries to switch promisc mode off while detaching the BPF listner. This ultimately results in a call to re_ioctl() (due to SIOCSIFFLAGS), which in turn calls re_init() to handle the IFF_PROMISC flag change. Unfortunately, calling re_init() here turns the chip back on and restarts the 1-second timeout loop that drives re_tick(). By the time the timeout fires, if_re.ko has been unloaded, which results in a call to invalid code and blows up the system. To fix this, I cleared the IFF_UP flag before calling ether_ifdetach(), which stops the ioctl routine from trying to reset the chip. - Modified comments in re_rxeof() relating to the difference in RX descriptor status bit layout between the 8139C+ and the gigE chips. The layout is different because the frame length field was expanded from 12 bits to 13, and they got rid of one of the status bits to make room. - Add diagnostic code (re_diag()) to test for the case where a user has installed a broken 32-bit 8169 PCI NIC in a 64-bit slot. Some NICs have the REQ64# and ACK64# lines connected even though the board is 32-bit only (in this case, they should be pulled high). This fools the chip into doing 64-bit DMA transfers even though there is no 64-bit data path. To detect this, re_diag() puts the chip into digital loopback mode and sets the receiver to promiscuous mode, then initiates a single 64-byte packet transmission. The frame is echoed back to the host, and if the frame contents are intact, we know DMA is working correctly, otherwise we complain loudly on the console and abort the device attach. (At the moment, I don't know of any way to work around the problem other than physically modifying the board, so until/unless I can think of a software workaround, this will have do to.) - Created re(4) man page - Modified rlphy.c to allow re(4) to attach as well as rl(4). Note that this code works for the sample 8169/Marvell 88E1000 NIC that I have, but probably won't work for the 8169S/8110S chips. RealTek has sent me some sample NICs, but they haven't arrived yet. I will probably need to add an rlgphy driver to handle the on-board PHY in the 8169S/8110S (it needs special DSP initialization).
* Merged from sys/dev/sio/sio.c revisions 1.403 and 1.404.nyan2003-08-282-68/+30
|
* Switch to dev/syscons/syscons.c.nyan2003-08-251-3586/+0
|
* MFi386: revisions 1.202 and 1.203.nyan2003-08-233-417/+9
|
* bandaide to make this build againimp2003-08-163-6/+18
|
* As warned: Initiate deorbit burn for the pcaudio driver.phk2003-08-152-613/+0
|
* MFi386: revision 1.201.nyan2003-08-083-0/+3
|
* Merged from sys/dev/sio/sio.c revision 1.400.nyan2003-08-022-6/+12
|
* Merged from sys/dev/ppc/ppc.c revision 1.42.nyan2003-08-022-88/+74
|
* Cosmetic: fix disorder of opt_kstack_pages.h include.peter2003-07-312-2/+2
|
* MFi386: revision 1.1090.nyan2003-07-231-0/+10
|
* Initiate de-orbit burn for fpu-less operation. 386+387 is stillpeter2003-07-222-11/+0
| | | | | theoretically supportable, but you'd really be happier with FreeBSD 2.1.8 on it.
* Supported the gdc_clear function.nyan2003-07-212-6/+114
| | | | Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
* Rename thread_siginfo to cpu_thread_siginfo.davidxu2003-07-152-2/+2
| | | | Suggested by: jhb
* Fixed mouse cursor support.nyan2003-07-131-55/+42
| | | | Submitted by: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
* - Use the new resource_disabled() helper function to see if devices arejhb2003-07-028-26/+12
| | | | | | | | | | | | disabled. - Change the apm driver to match the acpi driver's behavior by checking to see if the device is disabled in the identify routine instead of in the probe routine. This way if the device is disabled it is never created. Note that a few places (ips(4), Alpha SMP) used "disable" instead of "disabled" for their hint names, and these hints must be changed to "disabled". If this is a big problem, resource_disabled() can always be changed to honor both names.
* MFi386: revision 1.566.nyan2003-06-282-76/+0
|
* Add a machine depended function thread_siginfo, SA signal codedavidxu2003-06-282-0/+40
| | | | | | | will use the function to construct a siginfo structure and use the result to export to userland. Reviewed by: julian
* Replace evil abuse of geteblk() with malloc(9).phk2003-06-162-12/+10
|
* Disable unneeded devices and options.nyan2003-06-151-5/+22
|
OpenPOWER on IntegriCloud