summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Switch rl_encap over to using m_defrag.silby2003-03-301-11/+1
| | | | | | | No functional change, the previous rl_encap was correct wrt long mbuf chains; this just reduces code duplication. MFC after: 2 weeks
* - We are not guaranteed that read ahead blocks are not in memory already.jeff2003-03-301-1/+9
| | | | | Check for B_DELWRI as well as B_CACHED before issuing io on a buffer. This is especially important since we are changing the b_iocmd.
* - Remove invalid casts.jake2003-03-304-6/+6
| | | | Sponsored by: DARPA, Network Associates Laboratories
* - Convert all uses of pmap_pte and get_ptbase to pmap_pte_quick. Whenjake2003-03-306-362/+224
| | | | | | | | | | | | accessing an alternate address space this causes 1 page table page at a time to be mapped in, rather than using the recursive mapping technique to map in an entire alternate address space. The recursive mapping technique changes large portions of the address space and requires global tlb flushes, which seem to cause problems when PAE is enabled. This will also allow IPIs to be avoided when mapping in new page table pages using the same technique as is used for pmap_copy_page and pmap_zero_page. Sponsored by: DARPA, Network Associates Laboratories
* The object type can't be OBJT_PHYS in vm_mmap().mux2003-03-301-1/+1
| | | | Reviewed by: peter
* rid is not a pointer to int, but rather just a plain int.imp2003-03-301-2/+2
|
* Document what bus_set_resource(9) does. It is used by bus drivers toimp2003-03-302-0/+96
| | | | bind resources that client drivers later access.
* Fix a bug in the ENOMEM pacing code which probably made it panic systemsphk2003-03-291-4/+4
| | | | after a lot of ENOMEM errors.
* - Free interrupt handler in ep_free().mdodd2003-03-296-18/+32
| | | | | - Move ep_pccard_detach() to if_ep.c and rename to ep_detach() - Specify detach methods for all bus frontends.
* Add create_geom and destroy_geom methods.phk2003-03-291-0/+159
|
* remove a blank line.phk2003-03-291-1/+0
|
* Use default geometry in case the device doesn't provide one:phk2003-03-291-1/+6
| | | | | | | 512 for sectorsize. 63 for sectors. 255 for heads. This will mostly show up on MD(4) devices.
* Checksum the configuration EEPROM.mdodd2003-03-291-0/+43
|
* BDE'ifyfjoe2003-03-291-79/+89
|
* - Return error status instead of value in get_e().mdodd2003-03-294-32/+71
| | | | | - Modify ep_get_macaddr() to return an error status. - Reverse the return value logic of eeprom_rdy().
* Switch vr_encap over to using m_defrag instead of its own versionsilby2003-03-292-28/+4
| | | | | | | | | of the function. No functional change, this driver already handled long mbuf chains correctly. MFC after: 2 weeks
* fix truncation check and buffer overflow checkfjoe2003-03-291-11/+11
|
* Update if_dc to use m_defrag, removing the semi-duplicate dc_coalsilby2003-03-292-70/+60
| | | | | | | | | | | function. Also, use m_defrag where appropriate to defrag long mbuf chains in the same fashion as was done in if_sis.c. Before this change, if_dc would blow up and take down the interface if fed a really long mbuf chain. MFC after: 2 weeks
* sendmail 8.12.9 has been importedgshapiro2003-03-291-4/+4
|
* Fix conflicts from sendmail 8.12.9 importgshapiro2003-03-294-9/+139
|
* This commit was generated by cvs2svn to compensate for changes in r112810,gshapiro2003-03-2958-174/+329
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import sendmail 8.12.9gshapiro2003-03-2962-183/+464
| |
* | Fix the osf1 abi module on SMP systems by making the size ofgallatin2003-03-292-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a struct pmap be the same on both SMP and UP kernels. It turns out that the size of a struct pmap is much larger on alpha SMP systems due to the number of pm_asn's being dependant on MAX_CPU. Since modules are supposed to be SMP agnostic, this has the affect of moving around the "interesting bits" of the vmspace (daddr, dsize) that the osf1 module wants to frob. So the module ends up scribbling in a pmap struct, and the user either sees a panic, or an application failure. While here, I've also shrunk MAXCPU to 8 now that it affects the size of pmap structs on UP systesm. This should be plenty, as I'm unware of any hardware we currently run in which supports more than 8 CPUs.
* | Have sis_encap use m_defrag if:silby2003-03-291-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. The chain passed in is > 31 fragments long or 2. The chain will not fit in the remaining descriptors without defragmentation. This is slightly less clear than other network drivers because the sis chips share one descriptor list for all packets, it seems. Before this change, a > 127 fragment chain would get stuck in the IFQUEUE permanently, bringing all network traffic to a halt. MFC after: 2 weeks
* | Align signal frame placed on stack to 16 bytes so that SSE FPU registerdeischen2003-03-291-1/+2
| | | | | | | | | | | | restores can work. Also correct allocation for signal frame size. Reviewed by: mini
* | opt_geom.h is no longer required for this module.mdodd2003-03-291-5/+2
| |
* | Add 'idt' driver to module build.mdodd2003-03-291-0/+1
| |
* | - Deal with netisr changes.mdodd2003-03-291-5/+5
| | | | | | | | - Wrap idt_atm_harpconn() in conditional define T_ATM_BUFQUEUE
* | Add module infrastructure for 'dpt' driver.mdodd2003-03-292-0/+15
| |
* | Add module infrastructure for 'if_ex'.mdodd2003-03-292-0/+13
| |
* | - Declare ex_devclass in if_ex.cmdodd2003-03-294-8/+8
| | | | | | | | - Rename module datastructures in if_ex_isa.c to be more standard.
* | - Move ex_pccard_detach() to if_ex.c and rename it to ex_detach().mdodd2003-03-294-15/+22
| | | | | | | | - Add detach method to ISA front end.
* | Reformat for readability.mdodd2003-03-291-96/+98
| |
* | Add module infrastructure for 'vpd' and 'smbios' and move 'smbios'mdodd2003-03-295-2/+29
| | | | | | | | to new home.
* | Don't dereference flags if NULL (see http.c rev 1.87)des2003-03-291-1/+1
| |
* | Remove useless code.mdodd2003-03-291-6/+0
| |
* | Don't compile the identify method yet.mdodd2003-03-291-0/+4
| |
* | Register dependency on the elink module.mdodd2003-03-291-0/+3
| |
* | Add module infrastructure for elink.mdodd2003-03-292-0/+11
| |
* | Add module infrastructure for if_ie.mdodd2003-03-292-0/+11
| |
* | Second round of updates to the ATA driver.sos2003-03-2911-537/+614
| | | | | | | | | | | | | | | | | | | | | | | | Clean up the DMA interface too much unneeded stuff crept in with the busdma code back when. Modify the ATA_IN* / ATA_OUT* macros so that resource and offset are gotten from a table. That allows for new chipsets that doesn't nessesarily have things ordered the good old way. This also removes the need for the wierd PC98 resource functions. Tested on: i386, PC98, Alpha, Sparc64
* | - Move driver to newbus.mdodd2003-03-298-541/+1124
| | | | | | | | | | | | - Provide identify methods for EtherExpress and 3c507 cards; this means these cards no longer need wired configs. - Provide a detach method.
* | - Change ELINK_ID_PORT; the 3c507 likes 0x100 better.mdodd2003-03-292-2/+19
| | | | | | | | - Add module metadata.
* | Clear the IFF_OACTIVE flag at the end of ieinit(). This preventsmdodd2003-03-291-0/+2
| | | | | | | | | | | | | | | | the adapter from becoming wedged when when the interface is is brought up by ether_ioctl() (when you set an IP address for example.) Confirmed this "fix" from NetBSD's i82586 backend. It seems hackish to me but whatever.
* | Fill in the rest of the fields in the resulting struct tmmtm2003-03-291-2/+3
| | | | | | | | | | | | | | | | | | | | from strptime(3). Previously, they would get filled only for the %s specifier and as a side effect of using the the %Z specifier with a GMT time zone. PR: misc/48993 Approved by: markm (mentor) Silence on: -standards
* | Correct a typo in previous commitkris2003-03-291-1/+1
| |
* | 'speaker' not 'atspeaker'mdodd2003-03-291-1/+1
| |
* | Retire 'atspeaker' and 'pcspeaker'. We'll use 'speaker' whichmdodd2003-03-293-11/+1
| | | | | | | | | | | | is the same as the config device directive. Reminded by: Takahashi Yoshihiro <nyan@jp.FreeBSD.org>
* | Adjust shared memory allocation to work on cards with only 8 KB of RAM.mdodd2003-03-291-6/+6
| |
* | Clean up argument comments for bus_dma_tag_create() calls.mdodd2003-03-2916-308/+451
| |
OpenPOWER on IntegriCloud